diff options
author | punk <punk@libernaut> | 2021-04-29 16:11:04 +0100 |
---|---|---|
committer | punk <punk@libernaut> | 2021-04-29 16:11:25 +0100 |
commit | 9bef2e2b7ea351b6b1cb490597356677db61ff34 (patch) | |
tree | c36ae24aa3c36f6c19284c7d4da7c25a620bfabf /tools/conf/etc/rc.d/dnscrypt-proxy | |
parent | 6b5cf63d1987889e272643bf7eeb7725df856d11 (diff) | |
parent | 5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 (diff) | |
download | doc-master.tar.gz |
Diffstat (limited to 'tools/conf/etc/rc.d/dnscrypt-proxy')
-rwxr-xr-x | tools/conf/etc/rc.d/dnscrypt-proxy | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tools/conf/etc/rc.d/dnscrypt-proxy b/tools/conf/etc/rc.d/dnscrypt-proxy deleted file mode 100755 index db8cd77..0000000 --- a/tools/conf/etc/rc.d/dnscrypt-proxy +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: dnscrypt-proxy -# Required-Start: $local_fs $network -# Required-Stop: $local_fs -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: dnscrypt-proxy -# Description: dnscrypt-proxy secure DNS client -### END INIT INFO - -# Authors: https://github.com/simonclausen/dnscrypt-autoinstall/graphs/contributors -# Project site: https://github.com/simonclausen/dnscrypt-autoinstall - -USER=net -PATH=/usr/sbin:/usr/bin:/sbin:/bin -DAEMON=/usr/sbin/dnscrypt-proxy -NAME=dnscrypt-proxy -RESOLVER=dnscrypt.eu-dk -ADDRESS1=77.66.84.233 -PNAME1=2.dnscrypt-cert.resolver2.dnscrypt.eu -PKEY1=3748:5585:E3B9:D088:FD25:AD36:B037:01F5:520C:D648:9E9A:DD52:1457:4955:9F0A:9955 - -case "$1" in - start) - echo "Starting $NAME" - $DAEMON --daemonize --ephemeral-keys --user=nobody \ - --local-address=127.0.0.1:40 \ - --resolver-address=$ADDRESS3 \ - --provider-name=$PNAME1 \ - --provider-key=$PKEY3 \ - --resolver-name=$RESOLVER - ;; - stop) - echo "Stopping $NAME" - pkill -f $DAEMON - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart}" - exit 1 - ;; -esac - -exit 0 - - |