mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-03 01:09:32 +01:00
Add optional hardening to systemd service (#259)
This commit is contained in:
parent
f2ab65aab7
commit
bdc32cee90
@ -13,6 +13,15 @@ WantedBy=multi-user.target
|
||||
[Service]
|
||||
Type=simple
|
||||
NonBlocking=true
|
||||
ProtectHome=true
|
||||
|
||||
# Change this
|
||||
ExecStart=/opt/dnscrypt-proxy/dnscrypt-proxy
|
||||
|
||||
# Run dnscrypt-proxy as unprivileged user with
|
||||
# temporary assigned UID/GID. See man:systemd.exec
|
||||
# for more info. Requires systemd 232+.
|
||||
#DynamicUser=yes
|
||||
#CacheDirectory=dnscrypt-proxy
|
||||
#LogsDirectory=dnscrypt-proxy
|
||||
#RuntimeDirectory=dnscrypt-proxy
|
||||
|
Loading…
Reference in New Issue
Block a user