diff options
| author | Ian Bashford <ianbashford@gmail.com> | 2018-04-19 21:44:49 +0100 |
|---|---|---|
| committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-04-27 13:19:20 +0000 |
| commit | 2c9710c3fa36ff2abc0359619311135811893ce3 (patch) | |
| tree | 195808b70c4de316c9b429549658d57ff70c1ae6 /community/dnscrypt-proxy/dnscrypt-proxy.initd | |
| parent | 3fd829e90c4b1c647ea539a7566aadf6eed9b73e (diff) | |
| download | aports-2c9710c3fa36ff2abc0359619311135811893ce3.tar.bz2 aports-2c9710c3fa36ff2abc0359619311135811893ce3.tar.xz | |
community/dnscrypt-proxy upgrade to 2.0.10
update to 2.0.10 r1
move setcap to APKBUILD
patch default config log and configuration file locations
Diffstat (limited to 'community/dnscrypt-proxy/dnscrypt-proxy.initd')
| -rw-r--r-- | community/dnscrypt-proxy/dnscrypt-proxy.initd | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/community/dnscrypt-proxy/dnscrypt-proxy.initd b/community/dnscrypt-proxy/dnscrypt-proxy.initd index bd6c1070a1..626b15737e 100644 --- a/community/dnscrypt-proxy/dnscrypt-proxy.initd +++ b/community/dnscrypt-proxy/dnscrypt-proxy.initd @@ -3,10 +3,10 @@ # Distributed under the terms of the GNU General Public License v2 command="/usr/bin/dnscrypt-proxy" -command_args="${DNSCRYPT_OPTS:---config /etc/dnscrypt-proxy/dnscrypt-proxy.toml}" +command_args="${DNSCRYPT_OPTS:--config /etc/dnscrypt-proxy/dnscrypt-proxy.toml}" command_user="${DNSCRYPT_USER:-dnscrypt}:${DNSCRYPT_GROUP:-dnscrypt}" -pidfile="/run/${SVCNAME}.pid" -start_stop_daemon_args="--background --make-pidfile" +pidfile="/run/${RC_SVCNAME}.pid" +command_background="yes" depend() { use net logger @@ -15,7 +15,6 @@ depend() { start_pre() { checkpath -q -d -m 0775 -o "${command_user}" \ - /var/cache/"${SVCNAME}" \ - /var/log/"${SVCNAME}" - setcap cap_net_bind_service=+ep "${command}" + /var/cache/"${RC_SVCNAME}" \ + /var/log/"${RC_SVCNAME}" } |
