mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-20 19:21:53 +00:00
Change to ncwait so that the service start script will block until FS is actually started
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ PIDFile=/run/freeswitch/freeswitch.pid
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre=/bin/mkdir -p /run/freeswitch
|
||||
ExecStartPre=/bin/chown freeswitch:freeswitch /run/freeswitch
|
||||
ExecStart=/usr/bin/freeswitch -nc -nonat
|
||||
ExecStart=/usr/bin/freeswitch -ncwait -nonat
|
||||
TimeoutSec=45s
|
||||
Restart=always
|
||||
; exec
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC=freeswitch
|
||||
NAME=freeswitch
|
||||
DAEMON=/usr/bin/freeswitch
|
||||
DAEMON_ARGS="-u freeswitch -g freeswitch -nc"
|
||||
DAEMON_ARGS="-u freeswitch -g freeswitch -ncwait"
|
||||
USER=freeswitch
|
||||
GROUP=freeswitch
|
||||
CONFDIR=/etc/$NAME
|
||||
|
||||
Reference in New Issue
Block a user