projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a02c2
)
Make ntp init script correctly stop the service
author
Julien Cristau
<jcristau@debian.org>
Sun, 17 May 2015 14:30:56 +0000
(16:30 +0200)
committer
Julien Cristau
<jcristau@debian.org>
Sun, 17 May 2015 14:32:12 +0000
(16:32 +0200)
Tell start-stop-daemon to wait for it to exit, and retry with KILL if
TERM isn't enough.
Signed-off-by: Julien Cristau <jcristau@debian.org>
modules/ntp/files/ntp.init
patch
|
blob
|
history
diff --git
a/modules/ntp/files/ntp.init
b/modules/ntp/files/ntp.init
index
3a5ccc5
..
6a2bfe8
100755
(executable)
--- a/
modules/ntp/files/ntp.init
+++ b/
modules/ntp/files/ntp.init
@@
-65,7
+65,7
@@
case $1 in
;;
stop)
log_daemon_msg "Stopping NTP server" "ntpd"
- start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
+ start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
--retry 5
log_end_msg $?
rm -f $PIDFILE
;;