diff options
Diffstat (limited to 'main/freeswitch/freeswitch.initd')
-rwxr-xr-x | main/freeswitch/freeswitch.initd | 3 |
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 \ |