From 3b14545eb823afd33baa3ed5564aaf6aca8864b6 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Fri, 24 Apr 2015 18:41:42 +0300 Subject: [PATCH] Add ability to prevent powerdns from starting in SysV script --- pdns/pdns.in | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0