From: Ian Jackson Date: Sun, 9 Apr 2017 10:13:11 +0000 (+0100) Subject: init script fixes X-Git-Tag: hippotat/1.0.0~55^2~69 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=commitdiff_plain;h=477169b146487f743bcdf771b3ce1028cf72e313 init script fixes Signed-off-by: Ian Jackson --- diff --git a/debian/hippotat.init b/debian/hippotat.init index 38fffb7..8fcde4f 100644 --- a/debian/hippotat.init +++ b/debian/hippotat.init @@ -20,7 +20,7 @@ LOGFACILITY=daemon . /etc/default/hippotatd test -f $DAEMON || exit 0 -egrep '^[^ #]' $MASTER_CONFIG >/dev/null || exit 0 +egrep '^[^ #]' $MASTER_CONFIG >/dev/null 2>&1 || exit 0 . /lib/lsb/init-functions diff --git a/debian/hippotat.postinst b/debian/hippotat.postinst index a223771..b406e55 100644 --- a/debian/hippotat.postinst +++ b/debian/hippotat.postinst @@ -1,6 +1,6 @@ #!/bin/sh set -e -#DEBHELPER# mkdir -p -m700 /etc/hippotat adduser --system --group --force-badname --shell=/bin/bash \ --home /etc/hippotat Debian-hippotat +#DEBHELPER#