aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnscrypt-proxy/dnscrypt-proxy.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/dnscrypt-proxy/dnscrypt-proxy.initd')
-rw-r--r--community/dnscrypt-proxy/dnscrypt-proxy.initd5
1 files changed, 2 insertions, 3 deletions
diff --git a/community/dnscrypt-proxy/dnscrypt-proxy.initd b/community/dnscrypt-proxy/dnscrypt-proxy.initd
index dfe004b576..bd6c1070a1 100644
--- a/community/dnscrypt-proxy/dnscrypt-proxy.initd
+++ b/community/dnscrypt-proxy/dnscrypt-proxy.initd
@@ -5,7 +5,7 @@
command="/usr/bin/dnscrypt-proxy"
command_args="${DNSCRYPT_OPTS:---config /etc/dnscrypt-proxy/dnscrypt-proxy.toml}"
command_user="${DNSCRYPT_USER:-dnscrypt}:${DNSCRYPT_GROUP:-dnscrypt}"
-pidfile="/run/${SVCNAME}/${SVCNAME}.pid"
+pidfile="/run/${SVCNAME}.pid"
start_stop_daemon_args="--background --make-pidfile"
depend() {
@@ -16,7 +16,6 @@ depend() {
start_pre() {
checkpath -q -d -m 0775 -o "${command_user}" \
/var/cache/"${SVCNAME}" \
- /var/log/"${SVCNAME}" \
- /var/run/"${SVCNAME}"
+ /var/log/"${SVCNAME}"
setcap cap_net_bind_service=+ep "${command}"
}