Debian packaging: cosmetic
This commit is contained in:
parent
6c91e7df51
commit
a470e3dea4
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue