diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2018-08-11 06:25:51 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2018-08-11 06:25:51 -0700 |
commit | 69c3dabaf25ade88bebc159319379fa124c532ee (patch) | |
tree | d491eae98833e73a209502b31e7724b139a48394 /dnscrypt-proxy.initd | |
parent | Partial fix for failing to bind to port 53 (diff) | |
download | dnscrypt-proxy-openrc-69c3dabaf25ade88bebc159319379fa124c532ee.tar.xz |
Added script on stop to kill dangling processes
Diffstat (limited to 'dnscrypt-proxy.initd')
-rw-r--r-- | dnscrypt-proxy.initd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dnscrypt-proxy.initd b/dnscrypt-proxy.initd index 12e73e5..0986860 100644 --- a/dnscrypt-proxy.initd +++ b/dnscrypt-proxy.initd @@ -17,3 +17,7 @@ start_pre() { checkpath -q -d -m 0775 -o "${DNSCRYPT_PROXY_DUAL}" /var/cache/"${RC_SVCNAME}" checkpath -q -d -m 0775 -o "${DNSCRYPT_PROXY_DUAL}" /var/log/"${RC_SVCNAME}" } + +stop_pre() { + pkill -u dnscrypt-proxy +} |