Mail archive
alpine-devel

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

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

Changed the freeswitch package's freeswitch.initd to include the switches
for the grammar, recordings, storage, and sounds directories. Currently
without them it's trying to use the default /usr prefix making voicemail
and other things unusable out of the box.

The switches are set as follows:
Recordings - /var/lib/freeswitch/recordings (this directory already exists)
Grammar - /var/lib/freeswitch/grammar (this directory already exists)
Sounds - /usr/share/freeswitch/sounds (this directory already exists)
Storage - /var/lib/freeswitch/ (this will cause http_file_cache and
        voicemail directories to be created on first start)

Thanks.
---
 main/freeswitch/freeswitch.initd | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/main/freeswitch/freeswitch.initd b/main/freeswitch/freeswitch.initd
index cc9bac4..c56a49d 100755
--- a/main/freeswitch/freeswitch.initd
+++ b/main/freeswitch/freeswitch.initd
_at_@ -31,8 +31,12 @@ start() {
 		-- \
 		-nc -conf /etc/freeswitch -log /var/log/freeswitch \
 		-run /var/run/freeswitch -db /var/lib/freeswitch/db \
+		-recordings /var/lib/freeswitch/recordings \
+		-grammar /var/lib/freeswitch/grammar \
+		-sounds /usr/share/freeswitch/sounds \
 		-htdocs /usr/share/freeswitch/htdocs \
-		-scripts /etc/freeswitch/scripts ${OPTS}
+		-scripts /etc/freeswitch/scripts \
+		-storage /var/lib/freeswitch ${OPTS}
 	eend $?
 }
 
-- 
1.8.4.3
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Apr 13 2014 - 01:53:01 UTC