summarylogtreecommitdiffstats
path: root/service
blob: c8cf7d37a41428008d8bfea136b65f7c826e830a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Unbound DNS Resolver
Wants=nss-lookup.target
Before=network-online.target nss-lookup.target
After=network.target

[Service]
PIDFile=/run/unbound.pid
ExecStart=/usr/bin/unbound -d
ExecReload=/bin/kill -HUP $MAINPID
Restart=always

[Install]
WantedBy=multi-user.target