~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packaging fixes
[hippotat]
/
debian
/
hippotat.hippotatd.init
diff --git
a/debian/hippotat.hippotatd.init
b/debian/hippotat.hippotatd.init
index
ac91e3a
..
fbee31f
100644
(file)
--- a/
debian/hippotat.hippotatd.init
+++ b/
debian/hippotat.hippotatd.init
@@
-10,7
+10,7
@@
# Description: Asinine IP over HTTP server
### END INIT INFO
# Description: Asinine IP over HTTP server
### END INIT INFO
-DAEMON=/usr/sbin/hippotat
+DAEMON=/usr/sbin/hippotat
d
MASTER_CONFIG=/etc/hippotat/master.cfg
USER=Debian-hippotat
PIDFILE=/var/run/hippotat/hippotatd.pid
MASTER_CONFIG=/etc/hippotat/master.cfg
USER=Debian-hippotat
PIDFILE=/var/run/hippotat/hippotatd.pid
@@
-40,7
+40,7
@@
as_user_userv () {
ssd () {
set +e
ssd () {
set +e
- start-stop-daemon --
start --
quiet --user $USER --pidfile=$PIDFILE "$@"
+ start-stop-daemon --quiet --user $USER --pidfile=$PIDFILE "$@"
rc=$?
set -e
}
rc=$?
set -e
}
@@
-71,12
+71,12
@@
check_firewall () {
do_start () {
check_firewall
ensure_dirs
do_start () {
check_firewall
ensure_dirs
- ssd --chuid $USER --start
as
\
+ ssd --chuid $USER --start
--startas
\
$AUTHBIND $DAEMON --daemon --pidfile=$PIDFILE \
--syslog-facility=$LOGFACILITY $HIPPOTATD_ARGS
}
do_stop () {
$AUTHBIND $DAEMON --daemon --pidfile=$PIDFILE \
--syslog-facility=$LOGFACILITY $HIPPOTATD_ARGS
}
do_stop () {
- ssd --stop --retry 5
+ ssd --stop --
oknodo --
retry 5
}
case "$1" in
}
case "$1" in