Debian packaging: cosmetic

This commit is contained in:
Jérôme Schneider 2012-01-12 15:03:45 +00:00
parent 6c91e7df51
commit a470e3dea4
2 changed files with 9 additions and 15 deletions

6
debian/changelog vendored
View File

@ -1,9 +1,3 @@
wcs (1.9-0.201120111.1) squeeze; urgency=low
* Manage config file
-- Jérôme Schneider <jschneider@entrouvert.com> Wed, 11 Jan 2012 19:11:24 +0100
wcs (1.9-0.20111226.1) squeeze; urgency=low
* Upgrade packaging for Squeeze.

18
debian/wcs.init vendored
View File

@ -32,15 +32,15 @@ fi
# Function that starts the daemon/service.
#
d_start() {
if [ $CONFIG_FILE ]; then
start-stop-daemon --start --quiet --pidfile $pidfile \
--chuid $wcs_user:$wcs_group --make-pidfile --background \
--exec $daemon -- -f $CONFIG_FILE start $options
else
start-stop-daemon --start --quiet --pidfile $pidfile \
--chuid $wcs_user:$wcs_group --make-pidfile --background \
--exec $daemon -- start $options
fi
if [ $CONFIG_FILE ]; then
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--chuid $WCS_USER:$WCS_GROUP --make-pidfile --background \
--exec $DAEMON -- -f $CONFIG_FILE start $OPTIONS
else
start-stop-daemon --start --quiet --pidfile $pidfile \
--chuid $WCS_USER:$WCS_GROUP --make-pidfile --background \
--exec $DAEMON -- start $OPTIONS
fi
}
#