FS-7909 working directory is now /var/log/freeswitch

This is where core is dumped by default
This commit is contained in:
Stanislav Sinyagin 2015-07-31 02:13:55 +02:00
parent 852c0dcfae
commit cd68e0fe1b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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