summaryrefslogtreecommitdiff
path: root/package/pdnsd/files/pdnsd.init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-21 20:57:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-21 20:57:35 +0200
commit4dc2822fa71e8e3d3ab004c8c14867607bb4de06 (patch)
tree21e5b36849ea23f526cc58578a540de3882d7376 /package/pdnsd/files/pdnsd.init
parent8f1eff09d5706cbea36ddf1bfc4661579f688853 (diff)
parent38910b0bc0393c60da90e1b2540e3d4c5858dae9 (diff)
resolve merge conflict
Diffstat (limited to 'package/pdnsd/files/pdnsd.init')
-rw-r--r--package/pdnsd/files/pdnsd.init5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/pdnsd/files/pdnsd.init b/package/pdnsd/files/pdnsd.init
index 0da77186d..b67696469 100644
--- a/package/pdnsd/files/pdnsd.init
+++ b/package/pdnsd/files/pdnsd.init
@@ -13,7 +13,10 @@ autostart)
start)
[ -f /etc/pdnsd.conf ] || exit
mkdir -p /var/cache/pdnsd
- pdnsd -s -t -d
+ touch /var/cache/pdnsd/pdnsd.cache
+ # this allows for strict_setuid
+ chown -R nobody:nogroup /var/cache/pdnsd
+ pdnsd -d
;;
stop)
pkill pdnsd