From 8149b358f9ad37a8dd16fe45fbf9d1e6551b9265 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Sun, 10 Jun 2012 21:46:44 +0000 Subject: cronie: move systemd support to meta-systemd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- meta-oe/recipes-extended/cronie/cronie/crond.service | 10 ---------- meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend | 11 ----------- .../meta-oe/recipes-extended/cronie/cronie/crond.service | 10 ++++++++++ .../meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend | 11 +++++++++++ 4 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 meta-oe/recipes-extended/cronie/cronie/crond.service delete mode 100644 meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend create mode 100644 meta-systemd/meta-oe/recipes-extended/cronie/cronie/crond.service create mode 100644 meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend diff --git a/meta-oe/recipes-extended/cronie/cronie/crond.service b/meta-oe/recipes-extended/cronie/cronie/crond.service deleted file mode 100644 index 5ae193bfc..000000000 --- a/meta-oe/recipes-extended/cronie/cronie/crond.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Periodic Command Scheduler - -[Service] -ExecStart=/usr/sbin/crond -n -ExecReload=/bin/kill -HUP $MAINPID -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend b/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend deleted file mode 100644 index 5aedb21a4..000000000 --- a/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend +++ /dev/null @@ -1,11 +0,0 @@ -# look for files in the layer first -FILESEXTRAPATHS := "${THISDIR}/${PN}" - -PRINC = "2" - -inherit systemd - -SYSTEMD_PACKAGES = "${PN}-systemd" -SYSTEMD_SERVICE_${PN}-systemd = "crond.service" - -SRC_URI += "file://crond.service" diff --git a/meta-systemd/meta-oe/recipes-extended/cronie/cronie/crond.service b/meta-systemd/meta-oe/recipes-extended/cronie/cronie/crond.service new file mode 100644 index 000000000..5ae193bfc --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/cronie/cronie/crond.service @@ -0,0 +1,10 @@ +[Unit] +Description=Periodic Command Scheduler + +[Service] +ExecStart=/usr/sbin/crond -n +ExecReload=/bin/kill -HUP $MAINPID +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend b/meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend new file mode 100644 index 000000000..66db46674 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend @@ -0,0 +1,11 @@ +# look for files in the layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +PRINC := "${@int(PRINC) + 3}" + +inherit systemd + +SYSTEMD_PACKAGES = "${PN}-systemd" +SYSTEMD_SERVICE_${PN}-systemd = "crond.service" + +SRC_URI += "file://crond.service" -- cgit v1.2.3-54-g00ecf