summaryrefslogtreecommitdiff
path: root/dnscrypt-wrapper.initd
blob: e836c47820ecffeb1fdd13a8fec3156d8a9eceaf (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/openrc-run

command="/usr/bin/dnscrypt-wrapper"
command_args="${DNSCRYPT_WRAPPER_RUNTIME_ARGS} ${DNSCRYPT_WRAPPER_KEY_ARGS} ${DNSCRYPT_WRAPPER_NETWORK_ARGS}"
pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--background --make-pidfile"

depend() {
        need dnsmasq
}