This commit is contained in:
2021-10-29 15:00:37 +02:00
commit d1a9529475
6 changed files with 234 additions and 0 deletions

17
unbound.service Normal file
View File

@ -0,0 +1,17 @@
[Unit]
Description=unbound
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
GuessMainPID=yes
ExecStart=/opt/unbound/sbin/unbound
ExecStop=kill -SIGINT $mainpid
Restart=on-failure
WorkingDirectory=/etc/unbound
[Install]
Alias=unbound
WantedBy=multi-user.target