dnsmasq: add systemd service scripts for dnsmasq
PATCH 1/1 dnsmasq: add systemd service scripts for dnsmasq
Signed-off-by Sander van Grieken <[email protected]>
--- .../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
@@ -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
@@ -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
PATCH v2 1/1 dnsmasq: add systemd service scripts for dnsmasq
Signed-off-by Sander van Grieken <[email protected]>
--- .../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
@@ -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
@@ -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
PATCH v3 1/1 dnsmasq: add systemd service scripts for dnsmasq
Signed-off-by Sander van Grieken <[email protected]>
--- .../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
@@ -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
@@ -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