summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-06-09 15:30:42 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-06-09 15:32:29 +0200
commit1eb8a4c792166360137cb5c83afa75eace2b4b1d (patch)
tree5746b9ca28c22e54e378682ba484bd6210eefbd2
parentd9e903ce3a6ecc74c4e0ecf8dcf099ceea9eb2fe (diff)
Add service file for dnsmasq
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
-rw-r--r--services/Makemodule.am3
-rw-r--r--services/dnsmasq6
2 files changed, 9 insertions, 0 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
index cfd0481..c11a365 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -6,9 +6,12 @@ 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 services/unbound
+init_DATA += services/dnsmasq
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
+EXTRA_DIST += services/dnsmasq
+
diff --git a/services/dnsmasq b/services/dnsmasq
new file mode 100644
index 0000000..c739e8b
--- /dev/null
+++ b/services/dnsmasq
@@ -0,0 +1,6 @@
+description "dnsmasq DNS & DHCP server"
+type respawn limit 5
+target boot
+after sysinit ifcfg unbound
+
+exec dnsmasq -k