SHARE
TWEET

dnscrypt-proxy.service fixed for usr/bin changes

Peaceseeker Jun 3rd, 2013 101 Never
  1. [Unit]
  2. Description=A tool for securing communications between a client and a DNS resolver.
  3. After=network.target
  4. # Only needed if you use pdnsd, other caching DNS servers can go here. Could be ignored too.
  5. #Before=pdnsd.service
  6.  
  7. [Service]
  8. Type=forking
  9. PIDFile=/var/run/dnscrypt-proxy.pid
  10. EnvironmentFile=/etc/conf.d/dnscrypt-proxy
  11. ExecStartPre=/bin/rm -f /var/run/dnscrypt-proxy.pid
  12. ExecStart=/usr/bin/dnscrypt-proxy --daemonize \
  13.         --pidfile=/var/run/dnscrypt-proxy.pid \
  14.         --logfile=/var/log/dnscrypt-proxy.log \
  15.         --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \
  16.         --user=${DNSCRYPT_USER}
  17. Restart=on-abort
  18.  
  19. [Install]
  20. WantedBy=multi-user.target
RAW Paste Data
Top