X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fdebian%2Fwebcit.init;h=a9b0f1b9576dc4f04322a70108bcbe0ad327d47e;hb=53879264eea5247898b4c3d00b96669eecfd7d39;hp=c8a8726217d9fc69fcb50646acb18dbd19d8fe0d;hpb=d84e4da624ef2f04888d31b5b65126a4933ed866;p=citadel.git diff --git a/webcit/debian/webcit.init b/webcit/debian/webcit.init index c8a872621..a9b0f1b95 100644 --- a/webcit/debian/webcit.init +++ b/webcit/debian/webcit.init @@ -1,6 +1,6 @@ #! /bin/sh ### BEGIN INIT INFO -# Provides: skeleton +# Provides: webcit # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Default-Start: 2 3 4 5 @@ -10,14 +10,7 @@ # placed in /etc/init.d. ### END INIT INFO -# Author: Foo Bar -# -# Please remove the "Author" lines above and replace them -# with your own name if you copy and modify this script. - -# Do NOT "set -e" - -# PATH should only include /usr/* if it runs after the mountnfs.sh script +# Author: Wilfried Goesgens RUNDIR=/var/run/webcit PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Citadel Groupware Webserver " @@ -89,7 +82,7 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started - if $DAEMON -d$PIDFILE.$1 \ + if $DAEMON -D$PIDFILE.$1 \ -p$@ -t$LOGDIR/access.${1}.log ; then return 0 else