[Pkg-ocaml-maint-commits] [SCM] mldonkey packaging branch, master, updated. debian/2.9.5-2-82-g8ae6bd3
Mehdi Dogguy
dogguy at pps.jussieu.fr
Mon Mar 16 12:17:48 UTC 2009
The following commit has been merged in the master branch:
commit 8ae6bd307e32ed2f950058a2ad503352767d024c
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date: Mon Mar 16 13:17:40 2009 +0100
Fix some minor issues in init script and move log option to the right place
diff --git a/debian/mldonkey-server.init b/debian/mldonkey-server.init
index b06dd72..65a0a82 100644
--- a/debian/mldonkey-server.init
+++ b/debian/mldonkey-server.init
@@ -99,7 +99,7 @@ case "$1" in
echo "Starting $DESC: $NAME"
if [ "x$LAUNCH_AT_STARTUP" != "xtrue" ] && [ "x$1" = "xstart" ]; then
- Error 0 "[ERROR] configuration file prevent $NAME to be started (use force-start)."
+ Error 0 "configuration file prevent $NAME to be started (use force-start)."
fi
if [ -z "$MLDONKEY_DIR" ] || [ ! -d "$MLDONKEY_DIR" ]; then
@@ -114,17 +114,17 @@ case "$1" in
fi
USER=`/usr/bin/stat --format="%U" "$MLDONKEY_DIR/downloads.ini"`
- WRAPPER_OPTIONS="$WRAPPER_OPTIONS --user $USER -log_file $SERVERLOG"
+ WRAPPER_OPTIONS="$WRAPPER_OPTIONS --user $USER"
start-stop-daemon --start $WRAPPER_OPTIONS \
--pidfile $PIDFILE --background --exec $EXEC \
- -- -pid $PIDDIR > $LOGFILE 2>&1
+ -- -log_file $SERVERLOG -pid $PIDDIR > $LOGFILE 2>&1
StartErrorCheck
;;
stop)
- echo -n "Stopping $DESC: $NAME"
+ echo "Stopping $DESC: $NAME"
start-stop-daemon --stop --oknodo --pidfile $PIDFILE --retry 30
echo "."
;;
--
mldonkey packaging
More information about the Pkg-ocaml-maint-commits
mailing list