From: Aki Tuomi Date: Fri, 24 Apr 2015 15:41:42 +0000 (+0300) Subject: Add ability to prevent powerdns from starting in SysV script X-Git-Tag: auth-3.4.5~5^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b14545eb823afd33baa3ed5564aaf6aca8864b6;p=pdns Add ability to prevent powerdns from starting in SysV script --- diff --git a/pdns/pdns.in b/pdns/pdns.in index 25bb038fa..c5ed23ec5 100755 --- a/pdns/pdns.in +++ b/pdns/pdns.in @@ -27,6 +27,8 @@ DAEMON_ARGS="" [ -r /etc/default/pdns ] && . /etc/default/pdns +[ "$START" = "no" ] && exit 0 + # Make sure that /var/run exists mkdir -p $SOCKETPATH cd $SOCKETPATH