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