Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] Updated freeswitch.initd to include missing path switches.

From: Tobie Booth <tbooth_at_hindbra.in>
Date: Sun, 13 Apr 2014 03:37:01 -0500

I definitely think that would be the way to go. 

The problem is, in my mind (possibly spoiled by other distros) I expect to install freeswitch, freeswitch-sample-config, and freeswitch-sounds-* and have at least voicemail and other basic apps. However they fail and crash due to the incorrect file paths. Do you guys agree/disagree with this thought process? 

Unfortunately they can only be changed globally via the switches.

> On April 13, 2014 at 3:00:02 AM, Natanael Copa (ncopa_at_alpinelinux.org) wrote:
> On Sun, 13 Apr 2014 09:32:55 +0200
> Der Tiger <der.tiger.alpine_at_arcor.de> wrote:

>> Hi,
>>
>> In order to make those switches adjustable by the user, I suggest to set
>> them in /etc/conf.d/freeswitch utilizing the ${OPTS} variable in the
>> init.d script rather than make them hard-coded in /etc/init.d/freeswitch
>> itself, because some folks my want to store recordings on a different
>> drive or use their own set of grammar and voice files.

> Yes, and it will break things for those who actually have things stored
> other location.

> Maybe we should introduce variables with sane values:

> -recordings ${recordings_dir:-/var/lib/freeswitch/recordings} \
> -grammar ${grammar_dir:-/var/lib/freeswitch/grammar} \
> -sounds ${sounds_dir:-/usr/share/freeswitch/sounds} \
> -storage ${storage_dir:-/var/lib/freeswitch} \ 
> ${OPTS}





---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Apr 13 2014 - 03:37:01 UTC