forked from Mirrors/freeswitch
FS-7909 working directory is now /var/log/freeswitch
This is where core is dumped by default
This commit is contained in:
parent
852c0dcfae
commit
cd68e0fe1b
|
@ -15,7 +15,7 @@ ExecStart=/usr/bin/freeswitch -ncwait -nonat
|
|||
TimeoutSec=45s
|
||||
Restart=always
|
||||
; exec
|
||||
WorkingDirectory=/run/freeswitch
|
||||
WorkingDirectory=/var/log/freeswitch
|
||||
User=freeswitch
|
||||
Group=freeswitch
|
||||
LimitCORE=infinity
|
||||
|
|
|
@ -24,7 +24,7 @@ CONFDIR=/etc/$NAME
|
|||
RUNDIR=/var/run/$NAME
|
||||
PIDFILE=$RUNDIR/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
WORKDIR=/var/lib/$NAME
|
||||
WORKDIR=/var/log/$NAME
|
||||
|
||||
[ -x $DAEMON ] || exit 0
|
||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||
|
|
Loading…
Reference in New Issue