Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
- We now provide debug symbols in the new Debian way.
- The way the prerm stops secnet accords with modern practice.
* init script: source /lib/lsb/init-functions.
+ * init script: make "restart" work if secnet is not running.
* Expand Description.
* debhelper compat: bump to 12 (stretch-backports).
* debian/rules: Use dh_prep instead of deprecated dh_clean -k.
#
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
- --exec $DAEMON
+ --oknodo --exec $DAEMON
sleep 1
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON