mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-01 11:51:16 +02:00
20 lines
411 B
Plaintext
20 lines
411 B
Plaintext
#!/sbin/runscript
|
|
|
|
depend() {
|
|
use net
|
|
before dns
|
|
after logger
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting dnscrypt-proxy"
|
|
start-stop-daemon --start --quiet --pidfile=${PID} --exec /usr/sbin/dnscrypt-proxy -- -p ${PID} -l ${DNSCRYPT_LOGFILE} -d -u ${DNSCRYPT_GROUP} -a ${DNSCRYPT_LOCALIP}
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping dnscrypt-proxy"
|
|
start-stop-daemon --stop --quiet --exec /usr/sbin/dnscrypt-proxy
|
|
eend $?
|
|
}
|