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

This is where core is dumped by default
v1.6
Stanislav Sinyagin 7 years ago
parent 852c0dcfae
commit cd68e0fe1b
  1. 2
      debian/freeswitch-systemd.freeswitch.service
  2. 2
      debian/freeswitch-sysvinit.freeswitch.init

@ -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…
Cancel
Save