From 08268e4454e5d9c943cd9f1957305c4bfd38a6a3 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Tue, 2 Jun 2015 12:23:28 +0000 Subject: main/freeswitch: Specify pidfile. When running freeswitch in a lxc environment, rc-status will fail when called using the 'lxc-attach' (and maybe also other tools). Specifying the pidfile for 'start-stop-daemon' will resolve this problem. --- main/freeswitch/freeswitch.initd | 1 + 1 file changed, 1 insertion(+) (limited to 'main/freeswitch/freeswitch.initd') diff --git a/main/freeswitch/freeswitch.initd b/main/freeswitch/freeswitch.initd index 63ec58ad10..452a38bbe9 100755 --- a/main/freeswitch/freeswitch.initd +++ b/main/freeswitch/freeswitch.initd @@ -28,6 +28,7 @@ start() { ebegin "Starting Freeswitch" limits start-stop-daemon --start --quiet --exec /usr/bin/freeswitch \ + --pidfile $pidfile \ -- \ -nc \ ${OPTS} -- cgit v1.2.3