dnscrypto-proxy: Update to release 1.3.0
[tomato.git] / release / src / router / dnscrypt / packages / opensuse / dnscrypt.service
blob4d852a34377754c3a2837b0ff7b3e3846452f383
1 # This file is part of dnscrypt
2 # Author: Marguerite Su <i@marguerite.su> with some AUR reference.
3 # Version: 1.2.0
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.
7 #              It is BSD-licensed.
8 #              In openSUSE it's licensed under SuSE-Permissive (non-free ware).
9 #              For details, refer to its documentation.
10 [Unit]
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.
17 [Service]
18 Type=forking
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 
24 Restart=on-abort
26 [Install]
27 WantedBy=multi-user.target