[SCM] davmail packaging branch, master, updated. debian/4.1.0-2042-1_pre+1-1-gd3141cc
Alexandre Rossi
alexandre.rossi at gmail.com
Wed Oct 17 08:16:02 UTC 2012
The following commit has been merged in the master branch:
commit d3141cc3ad6a6951974ab403272ba46609070d28
Author: Alexandre Rossi <alexandre.rossi at gmail.com>
Date: Wed Oct 17 10:14:58 2012 +0200
fix stopping the daemon in init script
The problem was that the init script was trying to stop a 'davmail'
process while the process name is actually 'java' for davmail.
diff --git a/debian/init b/debian/init
index d0248dd..1158acf 100755
--- a/debian/init
+++ b/debian/init
@@ -71,7 +71,7 @@ do_stop()
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
- start-stop-daemon --user $DAEMON_USER --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+ start-stop-daemon --user $DAEMON_USER --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
start-stop-daemon --user $DAEMON_USER --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
--
davmail packaging
More information about the pkg-java-commits
mailing list