chiark / gitweb /
initscript: lift out DESCRIPTION
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 12:01:58 +0000 (13:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 12:01:58 +0000 (13:01 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/hippotat.init

index 8fcde4f..c0e4d7e 100644 (file)
@@ -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