summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-06-04 21:44:18 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-06-06 11:13:25 +0200
commitd9e903ce3a6ecc74c4e0ecf8dcf099ceea9eb2fe (patch)
treea4a0129ecd3e91cc6471850014deae869e95210b
parentd9c73520e35ec35e2de7beca3f20f8e8146806c1 (diff)
Add service file for unbound
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
-rw-r--r--services/Makemodule.am3
-rw-r--r--services/unbound6
2 files changed, 8 insertions, 1 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
index 74a7c40..cfd0481 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -5,9 +5,10 @@ init_DATA += services/reboot services/shutdown services/sigkill
init_DATA += services/sigterm services/sync services/devfs
init_DATA += services/sysfs services/procfs services/tmpfs
init_DATA += services/vfs services/ifrename services/ifcfg
-init_DATA += services/dhcpcd services/dhcpcdmaster
+init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname
EXTRA_DIST += services/hwclock services/loopback services/reboot
EXTRA_DIST += services/shutdown services/sync services/sysctl services/tmpfs
EXTRA_DIST += services/dhcpcd services/dhcpcdmaster
+EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound
diff --git a/services/unbound b/services/unbound
new file mode 100644
index 0000000..e6189f1
--- /dev/null
+++ b/services/unbound
@@ -0,0 +1,6 @@
+description "Unbound resolver"
+type respawn limit 5
+target boot
+after sysinit ifcfg
+
+exec unbound -d