Files
sysconfig/devices/cranberrypi/config/lib/systemd/system/unbound.service

18 lines
357 B
Desktop File

[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