chiark
/
gitweb
/
~ian
/
hippotat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initscript: lift out DESCRIPTION
[hippotat.git]
/
debian
/
hippotat.init
diff --git
a/debian/hippotat.init
b/debian/hippotat.init
index 8fcde4f517acd59b9a9bab20510e8d9c41be4a10..c0e4d7eb5955cd1a51df5e81536276a8450e0a11 100644
(file)
--- 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
PIDFILE=/var/run/hippotat/hippotatd.pid
LOGFACILITY=daemon
# HIPPOTATD_ARGS
+DESCRIPTION='Asinine IP over HTTP server'
. /etc/default/hippotatd
. /etc/default/hippotatd
@@
-49,19
+50,19
@@
do_stop () {
case "$1" in
start)
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)
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)
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
do_stop
sleep 1
do_start