Change to ncwait so that the service start script will block until FS is actually started
This commit is contained in:
parent
557f1d05ac
commit
985ce5729b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue