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
|
TimeoutSec=45s
|
||||||
Restart=always
|
Restart=always
|
||||||
; exec
|
; exec
|
||||||
WorkingDirectory=/run/freeswitch
|
WorkingDirectory=/var/log/freeswitch
|
||||||
User=freeswitch
|
User=freeswitch
|
||||||
Group=freeswitch
|
Group=freeswitch
|
||||||
LimitCORE=infinity
|
LimitCORE=infinity
|
||||||
|
|
|
@ -24,7 +24,7 @@ CONFDIR=/etc/$NAME
|
||||||
RUNDIR=/var/run/$NAME
|
RUNDIR=/var/run/$NAME
|
||||||
PIDFILE=$RUNDIR/$NAME.pid
|
PIDFILE=$RUNDIR/$NAME.pid
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
WORKDIR=/var/lib/$NAME
|
WORKDIR=/var/log/$NAME
|
||||||
|
|
||||||
[ -x $DAEMON ] || exit 0
|
[ -x $DAEMON ] || exit 0
|
||||||
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
|
||||||
|
|
Loading…
Reference in New Issue