From cd68e0fe1b4ae347c6a9a4108c6690db82baee3c Mon Sep 17 00:00:00 2001 From: Stanislav Sinyagin Date: Fri, 31 Jul 2015 02:13:55 +0200 Subject: [PATCH] FS-7909 working directory is now /var/log/freeswitch This is where core is dumped by default --- debian/freeswitch-systemd.freeswitch.service | 2 +- debian/freeswitch-sysvinit.freeswitch.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/freeswitch-systemd.freeswitch.service b/debian/freeswitch-systemd.freeswitch.service index c96f1c2b3f..c7cf65e4d7 100644 --- a/debian/freeswitch-systemd.freeswitch.service +++ b/debian/freeswitch-systemd.freeswitch.service @@ -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 diff --git a/debian/freeswitch-sysvinit.freeswitch.init b/debian/freeswitch-sysvinit.freeswitch.init index 98be1af324..2a9eb23e86 100644 --- a/debian/freeswitch-sysvinit.freeswitch.init +++ b/debian/freeswitch-sysvinit.freeswitch.init @@ -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