Permalink
Browse files

Add ability to prevent powerdns from starting in SysV script

  • Loading branch information...
1 parent 61b316f commit 3b14545eb823afd33baa3ed5564aaf6aca8864b6 @cmouse cmouse committed with cmouse Apr 24, 2015
Showing with 2 additions and 0 deletions.
  1. +2 −0 pdns/pdns.in
View
@@ -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

0 comments on commit 3b14545

Please sign in to comment.