summaryrefslogtreecommitdiff
path: root/dnscrypt-proxy.initd
blob: b77000aefebcf25fece89bf94e9c8f9365a78118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/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}"
pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--background --make-pidfile"

depend() {
        use logger net
        provide dns
}