From 8f1901433ecc812a8e39cf2c41914196e61db6a2 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Mon, 30 Mar 2015 22:54:19 +0200 Subject: [PATCH] by Harry Coin: remove deprecated -t option from the debian init script. --- webcit/debian/webcit.init | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/webcit/debian/webcit.init b/webcit/debian/webcit.init index b99e24ca3..2375ac712 100644 --- a/webcit/debian/webcit.init +++ b/webcit/debian/webcit.init @@ -25,7 +25,6 @@ PIDFILE=$RUNDIR/$NAME.pid SCRIPTNAME=/etc/init.d/webcit SENDCOMMAND=/usr/sbin/sendcommand DEFAULT=/etc/default/webcit -LOGDIR=/var/log/webcit/ DROP_TO_UID=`id -u nobody` # Exit if the package is not installed @@ -79,10 +78,6 @@ do_start() mkdir -p $RUNDIR fi - if test ! -d $LOGDIR; then - mkdir -p $LOGDIR - fi - # are we disabled? if test "$1" -lt "0"; then return 0 @@ -93,7 +88,7 @@ do_start() # 1 if daemon was already running # 2 if daemon could not be started if $DAEMON -u $DROP_TO_UID -D$PIDFILE.$1 \ - -p$@ -t$LOGDIR/access.${1}.log $4; then + -p$@ $4; then return 0 else return 2 -- 2.30.2