Want more features on Pastebin? Sign Up, it's FREE!
Guest

dnscrypt-proxy.service test file

By: a guest on May 25th, 2012  |  syntax: None  |  size: 0.59 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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/sbin/dnscrypt-proxy -d \
  13. -p /var/run/dnscrypt-proxy.pid \
  14. -l /var/log/dnscrypt-proxy.log \
  15. -a $DNSCRYPT_LOCALIP \
  16. -P $DNSCRYPT_LOCALPORT \
  17. -u $DNSCRYPT_USER
  18. Restart=on-abort
  19.  
  20. [Install]
  21. WantedBy=multi-user.target
clone this paste RAW Paste Data