aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch/freeswitch.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/freeswitch/freeswitch.initd')
-rwxr-xr-xmain/freeswitch/freeswitch.initd3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/freeswitch/freeswitch.initd b/main/freeswitch/freeswitch.initd
index c6ff357c6a..ee07de5374 100755
--- a/main/freeswitch/freeswitch.initd
+++ b/main/freeswitch/freeswitch.initd
@@ -22,6 +22,9 @@ start() {
[ -n "${FREESWITCH_OPTS}" ] && \
OPTS="${OPTS} ${FREESWITCH_OPTS}"
+ checkpath -q -d \
+ -o ${FREESWITCH_USER:freeswitch}:${FREESWITCH_GROUP:-freeswitch}\
+ -m 0770 /var/run/freeswitch
ebegin "Starting Freeswitch"
limits
start-stop-daemon --start --quiet --exec /usr/bin/freeswitch \