systemd: remove dnscrypt-proxy & add miredo

This commit is contained in:
Aminda Suomalainen 2015-08-20 18:29:00 +03:00
parent 3065c552da
commit 2ab0601c8d
2 changed files with 10 additions and 19 deletions

View File

@ -1,19 +0,0 @@
[Unit]
Description=A tool for securing communications between a client and a DNS resolver.
After=network.target
# Only needed if you use pdnsd, other caching DNS servers can go here. Could be ignored too.
Before=pdnsd.service
[Service]
EnvironmentFile=/etc/conf.d/dnscrypt-proxy
ExecStart=/usr/bin/dnscrypt-proxy \
--local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \
--resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} \
--provider-name=${DNSCRYPT_PROVIDER_NAME} \
--provider-key=${DNSCRYPT_PROVIDER_KEY} \
--user=${DNSCRYPT_USER} \
--edns-payload-size=4096
Restart=on-abort
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=Teredo IPv6 Tunneling Daemon
After=network-online.target unbound.service
[Service]
ExecStart=/usr/bin/miredo -f
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target