# This file is part of dnscrypt-proxy # Author: Marguerite Su with some AUR references. # Version: 1.4.3 # Description: dnscrypt is a tool that encrypts your DNS queries in order to # protect against man-in-the-middle attacks and DNS hijacking # (commonly seen in China). It uses OpenDNS resolvers by default. # It is BSD-licensed. # In openSUSE it's licensed under SuSE-Permissive (non-free ware). # For details, refer to its documentation. [Unit] Description=Secure connection between your computer and a DNS resolver After=network.target ntp.service # NTP always has local servers, and there's nothing to encrypt for time. # and ntp.service isn't native systemd service, if we start before it, # it will take a long time to sync. just save 20000+ms on boot. [Service] Type=forking PIDFile=/var/run/dnscrypt-proxy.pid # Execute a wrapper that calls the dnscrypt-proxy with config from # /etc/sysconfig/dnscrypt and substitutes defaults that cannot be passed # to ExecStart in combination with EnvironmentFile ExecStart=/usr/sbin/dnscrypt \ --daemonize \ --pidfile /var/run/dnscrypt-proxy.pid # Automatically Restart Restart=on-abort [Install] WantedBy=multi-user.target Alias=dnscrypt.service