]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add ability to prevent powerdns from starting in SysV script 2459/head
authorAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 15:41:42 +0000 (18:41 +0300)
committerAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 15:41:42 +0000 (18:41 +0300)
pdns/pdns.init.in

index 3d834c520408aacbda09dae83a72320d727167b8..63c1a54a6f33a04f4c98a50460126650f3a2aebc 100755 (executable)
@@ -26,6 +26,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