aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch/freeswitch.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-18 12:22:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-18 12:26:20 +0000
commit3c7b47f9857842cbcd4ec8ee72e62b4826057392 (patch)
tree456c152b31d6d907beac8638c86c05c96f676764 /main/freeswitch/freeswitch.initd
parentb88d121b69ecbb8f28a272a6c330255d4d2434df (diff)
downloadaports-3c7b47f9857842cbcd4ec8ee72e62b4826057392.tar.bz2
aports-3c7b47f9857842cbcd4ec8ee72e62b4826057392.tar.xz
main/freeswitch: cleanup previous fix
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 \