Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Package: hippotat
Depends: python3, ${python3:Depends}
+Recommends: authbind
Architecture: all
Description: IP Over HTTP (Asinine)
IP-over-HTTP client and server.
LOGFACILITY=daemon
# HIPPOTATD_ARGS
DESCRIPTION='Asinine IP over HTTP server'
+if type -p authbind >/dev/null 2>&1; then AUTHBIND=authbind; fi
. /etc/default/hippotatd
do_start () {
ensure_dirs
- ssd --chuid $USER --startas \
- $DAEMON --daemon --pidfile=$PIDFILE \
+ ssd --chuid $USER --startas \
+ $AUTHBIND $DAEMON --daemon --pidfile=$PIDFILE \
--syslog-facility=$LOGFACILITY $HIPPOTATD_ARGS
}
do_stop () {