summaryrefslogtreecommitdiff
path: root/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
commit77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch)
tree5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
parentbd4aeefe33e63f613512604e47bfca7b2187697d (diff)
gentoo resync : 10.11.2019
Diffstat (limited to 'net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd')
-rw-r--r--net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd19
1 files changed, 0 insertions, 19 deletions
diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
deleted file mode 100644
index d81a36fc8f85..000000000000
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/bin/dnscrypt-proxy"
-command_args="${DNSCRYPT_PROXY_OPTS:--config /etc/dnscrypt-proxy/dnscrypt-proxy.toml}"
-command_user="${DNSCRYPT_PROXY_USER:-dnscrypt-proxy}:${DNSCRYPT_PROXY_GROUP:-dnscrypt-proxy}"
-pidfile="/run/${RC_SVCNAME}.pid"
-start_stop_daemon_args="--background --make-pidfile"
-
-depend() {
- use logger net
- provide dns
-}
-
-start_pre() {
- checkpath -q -d -m 0775 -o "${command_user}" /var/cache/"${RC_SVCNAME}"
- checkpath -q -d -m 0775 -o "${command_user}" /var/log/"${RC_SVCNAME}"
-}