Commit 78499441 authored by Kurt Roeckx's avatar Kurt Roeckx

Wait for ntp to die in the stop target.

parent 782d593e
......@@ -17,8 +17,10 @@ ntp (1:4.2.8p9+dfsg-1) unstable; urgency=medium
* Make ntpdate-debian use the DHCP servers. Patch from
Christian Ehrhardt <christian.ehrhardt@canonical.com> (Closes: #617965)
* Move dhcp temporary files from /var/lib to /run. (Closes: #600661)
* Wait for ntp to die in the stop target. Patch from Christoph Biedl
<debian.axhn@manchmal.in-ulm.de> (Closes: #802040)
-- Kurt Roeckx <kurt@roeckx.be> Mon, 21 Nov 2016 19:14:07 +0100
-- Kurt Roeckx <kurt@roeckx.be> Mon, 21 Nov 2016 19:30:02 +0100
ntp (1:4.2.8p8+dfsg-1) unstable; urgency=high
......
......@@ -50,7 +50,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=TERM/30/KILL/5 --exec $DAEMON
log_end_msg $?
rm -f $PIDFILE
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment