Mail archive
alpine-devel

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

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Sun, 13 Apr 2014 07:59:57 +0000

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}



>
> So Long, Tiger
>
> On 2014-04-13 08:53, Tobie Booth wrote:
> > main/freeswitch/freeswitch.initd | 6 +++++-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
> >
>
>
>
> ---
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
> ---
>



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Apr 13 2014 - 07:59:57 UTC