Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

dnscrypt-proxy.service fixed for usr/bin changes

By: Peaceseeker on Jun 3rd, 2013  |  syntax: None  |  size: 0.66 KB  |  views: 98  |  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/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