Created
December 20, 2019 20:07
-
-
Save bvaudour/284557440fef0221074804a80c5b9ef3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=NextDNS DNS53 to DoH proxy. | |
ConditionFileIsExecutable=/usr/bin/nextdns | |
After=network.target | |
Before=nss-lookup.target | |
Wants=nss-lookup.target | |
[Service] | |
StartLimitInterval=5 | |
StartLimitBurst=10 | |
ExecStart=/usr/bin/nextdns "run" "-config-file" "/etc/nextdns.conf" | |
Restart=always | |
RestartSec=120 | |
EnvironmentFile=-/etc/sysconfig/nextdns | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment