mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
22 lines
473 B
Desktop File
22 lines
473 B
Desktop File
[Unit]
|
|
Description=DNS-over-HTTPS Client
|
|
Documentation=https://github.com/m13253/dns-over-https
|
|
After=network.target
|
|
Before=nss-lookup.target
|
|
Wants=nss-lookup.target
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
ExecStart=/usr/local/bin/doh-client -conf /etc/dns-over-https/doh-client.conf
|
|
LimitNOFILE=1048576
|
|
Restart=always
|
|
RestartSec=1s
|
|
RestartMaxDelaySec=76s
|
|
RestartSteps=9
|
|
Type=simple
|
|
DynamicUser=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|