]> granicus.if.org Git - pdns/commitdiff
Add ability to prevent powerdns from starting in SysV script
authorAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 15:41:42 +0000 (18:41 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Sun, 17 May 2015 17:30:39 +0000 (20:30 +0300)
pdns/pdns.in

index 25bb038fac4b760878f0b231e013635ebd4e363c..c5ed23ec5cfda99844d8325da2daa5ee53ee2f61 100755 (executable)
@@ -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