I want to run my webcit service with the -f option, how do I put that in the service script (/etc/init.d/webcit)?

The lines that look relevant are:

RUNDIR=/var/run/webcit
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Citadel Groupware Webserver "
NAME=webcit
DAEMON=/usr/sbin/$NAME
DAEMON_ARGS=""
PIDFILE=$RUNDIR/$NAME.pid
SCRIPTNAME=/etc/init.d/webcit
SENDCOMMAND=/usr/sbin/sendcommand
DEFAULT=/etc/default/webcit
LOGDIR=/var/log/webcit/
link|improve this question

75% accept rate
feedback

1 Answer

up vote 1 down vote accepted

Open the file /etc/default/webcit and change the first line to

export WEBCIT_APACHEFLAG='-f'

then restart the service

sudo service webcit restart
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.