summarylogtreecommitdiffstats
path: root/encrypted-dns.service
blob: 4c4be830bc2b44597a858abc3269d05d2fa1f058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=A modern encrypted DNS server (DNSCrypt v2, Anonymized DNSCrypt, DoH)
Documentation=https://github.com/jedisct1/encrypted-dns-server
Wants=network-online.target nss-lookup.target
Before=nss-lookup.target

[Service]
User=encrypted-dns
Group=encrypted-dns
ExecStart=/usr/bin/encrypted-dns -c /var/lib/encrypted-dns/encrypted-dns.toml
WorkingDirectory=/var/lib/encrypted-dns/
Restart=on-failure

PrivateTmp=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true

[Install]
WantedBy=multi-user.target