From dfb2736242e956d27d3c7a6101abd4fe8cbca806 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 30 Jan 2019 17:46:00 +0100 Subject: [PATCH] unbound: Add systemd service unit $ ls -l --full-time /etc/systemd/system/unbound.service -rw-r--r-- 1 root root 232 2014-12-18 14:49:19.000000000 +0100 /etc/systemd/system/unbound.service --- unbound/unbound.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 unbound/unbound.service diff --git a/unbound/unbound.service b/unbound/unbound.service new file mode 100644 index 00000000..90ef1acb --- /dev/null +++ b/unbound/unbound.service @@ -0,0 +1,12 @@ +[Unit] +After=network.service gateway.service mxmount.service + +[Service] +Type=forking +ExecStartPre=-/usr/sbin/unbound-startup setup-var +ExecStart=/usr/sbin/unbound +PIDFile=/var/unbound/unbound.pid + +[Install] +WantedBy=network.target +