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

View File

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