1 # This file is part of dnscrypt
2 # Author: Marguerite Su <i@marguerite.su> with some AUR reference.
4 # Description: dnscrypt is a tool that encrypts your DNS queries in order to
5 # protect against man-in-the-middle attacks and DNS hijacking
6 # (commonly seen in China). It uses OpenDNS resolvers by default.
8 # In openSUSE it's licensed under SuSE-Permissive (non-free ware).
9 # For details, refer to its documentation.
11 Description=Secure connection between your computer and a DNS resolver
12 After=network.target ntp.service
13 # Ntp always has local servers, and there's nothing to encrypt for time.
14 # and ntp.service isn't native systemd service, if we start before it,
15 # it will take a long time to sync. just save 20000+ms on boot.
19 PIDFile=/var/run/dnscrypt-proxy.pid
20 ExecStart=/usr/sbin/dnscrypt-proxy --daemonize \
21 -p /var/run/dnscrypt-proxy.pid \
22 -l /var/log/dnscrypt-proxy.log
23 # Automatically Restart
27 WantedBy=multi-user.target