Skip to contentSkip to conversation

dnsmasq: add systemd service scripts for dnsmasq

PATCH Superseded Sander van Grieken 1 participant 3 messages Sep 7, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dnsmasq: add systemd service scripts for dnsmasq

---
 .../dnsmasq/dnsmasq/dnsmasq.service                |   13 +++++++++++++
 .../dnsmasq/dnsmasq_2.55.bbappend                  |   10 ++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service
 create mode 100644 meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service new file +13 -0
new file mode 100644
index 0000000..c9c7f9d
@@ -0,0 +1,13 @@
+[Unit]
+Description=DNS forwarder and DHCP server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dnsmasq.pid
+ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid
+ExecReload=kill -HUP $(cat /run/dnsmasq.pid)
+
+[Install]
+WantedBy=multi-user.target
+
meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend new file +10 -0
new file mode 100644
index 0000000..0a9c77e
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PRINC := "${@int(PRINC) + 1}"
+
+inherit systemd
+
+SRC_URI += "file://dnsmasq.service"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "dnsmasq.service"
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 dnsmasq: add systemd service scripts for dnsmasq

---
 .../dnsmasq/dnsmasq/dnsmasq.service                |   13 +++++++++++++
 .../dnsmasq/dnsmasq_2.55.bbappend                  |   10 ++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service
 create mode 100644 meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service new file +13 -0
new file mode 100644
index 0000000..98bdbbc
@@ -0,0 +1,13 @@
+[Unit]
+Description=DNS forwarder and DHCP server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dnsmasq.pid
+ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid
+ExecReload=kill -HUP $(/bin/cat /run/dnsmasq.pid)
+
+[Install]
+WantedBy=multi-user.target
+
meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend new file +10 -0
new file mode 100644
index 0000000..0a9c77e
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PRINC := "${@int(PRINC) + 1}"
+
+inherit systemd
+
+SRC_URI += "file://dnsmasq.service"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "dnsmasq.service"
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v3 1/1 dnsmasq: add systemd service scripts for dnsmasq

---
 .../dnsmasq/dnsmasq/dnsmasq.service                |   13 +++++++++++++
 .../dnsmasq/dnsmasq_2.55.bbappend                  |   10 ++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service
 create mode 100644 meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service new file +13 -0
new file mode 100644
index 0000000..549e15e
@@ -0,0 +1,13 @@
+[Unit]
+Description=DNS forwarder and DHCP server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dnsmasq.pid
+ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid
+ExecReload=/bin/kill -HUP $(/bin/cat /run/dnsmasq.pid)
+
+[Install]
+WantedBy=multi-user.target
+
meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend new file +10 -0
new file mode 100644
index 0000000..0a9c77e
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PRINC := "${@int(PRINC) + 1}"
+
+inherit systemd
+
+SRC_URI += "file://dnsmasq.service"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "dnsmasq.service"
Signature · 1 line
1.7.9.5