From: Christian Hofstaedtler Date: Sun, 21 Sep 2014 21:13:50 +0000 (+0200) Subject: init script: support DAEMON_ARGS X-Git-Tag: auth-3.4.0-rc2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a23af75847baa2399d2434eae3186f2bebcc9bf;p=thirdparty%2Fpdns.git init script: support DAEMON_ARGS Support additional command line parameters by sourcing /etc/default/pdns and taking DAEMON_ARGS from there. --- diff --git a/pdns/pdns.in b/pdns/pdns.in index 6a62269206..f092955a64 100755 --- a/pdns/pdns.in +++ b/pdns/pdns.in @@ -21,6 +21,7 @@ exec_prefix=@exec_prefix@ BINARYPATH=@bindir@ SBINARYPATH=@sbindir@ SOCKETPATH=@socketdir@ +DAEMON_ARGS="" [ -f "$SBINARYPATH/pdns_server" ] || exit 0 @@ -36,7 +37,7 @@ else PROGNAME=pdns fi -pdns_server="$SBINARYPATH/pdns_server $EXTRAOPTS" +pdns_server="$SBINARYPATH/pdns_server $DAEMON_ARGS $EXTRAOPTS" doPC() {