From: Ian Jackson Date: Sun, 9 Apr 2017 12:01:58 +0000 (+0100) Subject: initscript: lift out DESCRIPTION X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/commitdiff_plain/05025919b9ced744608a4de40360d78a734ddc3d initscript: lift out DESCRIPTION Signed-off-by: Ian Jackson --- diff --git a/debian/hippotat.init b/debian/hippotat.init index 8fcde4f..c0e4d7e 100644 --- a/debian/hippotat.init +++ b/debian/hippotat.init @@ -16,6 +16,7 @@ USER=Debian-hippotat PIDFILE=/var/run/hippotat/hippotatd.pid LOGFACILITY=daemon # HIPPOTATD_ARGS +DESCRIPTION='Asinine IP over HTTP server' . /etc/default/hippotatd @@ -49,19 +50,19 @@ do_stop () { case "$1" in start) - log_daemon_msg "Starting IP over HTTP server" hippotatd + log_daemon_msg "Starting $DESCRIPTION" hippotatd do_start log_end_msg $rc ;; stop) - log_daemon_msg "Stopping IP over HTTP server" hippotatd + log_daemon_msg "Stopping $DESCRIPTION" hippotatd do_stop log_end_msg $rc ;; restart|force-reload) - log_daemon_msg "Restarting IP over HTTP server" hippotatd + log_daemon_msg "Restarting $DESCRIPTION" hippotatd do_stop sleep 1 do_start