add unbound.service
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Unbound DNS server
|
||||||
|
Documentation=man:unbound(8)
|
||||||
|
After=network.target
|
||||||
|
Before=nss-lookup.target
|
||||||
|
Wants=nss-lookup.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=exec
|
||||||
|
Restart=on-failure
|
||||||
|
EnvironmentFile=-/usr/local/etc/unbound/unbound_env
|
||||||
|
ExecStart=/usr/local/sbin/unbound -d -p $DAEMON_OPTS
|
||||||
|
ExecReload=+/bin/kill -HUP $MAINPID
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
Reference in New Issue
Block a user