From 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:20:04 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../recipes-extended/cronie/cronie/crond.service | 10 ++++++++++ .../recipes-extended/cronie/cronie_1.4.11.bbappend | 17 +++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service create mode 100644 meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend (limited to 'meta-systemd/oe-core/recipes-extended/cronie') diff --git a/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service b/meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service new file mode 100644 index 0000000000..5ae193bfcc --- /dev/null +++ b/meta-systemd/oe-core/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/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend new file mode 100644 index 0000000000..8f45f3ee52 --- /dev/null +++ b/meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend @@ -0,0 +1,17 @@ +# look for files in the layer first +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +inherit systemd + +RPROVIDES_${PN} += "${PN}-systemd" +RREPLACES_${PN} += "${PN}-systemd" +RCONFLICTS_${PN} += "${PN}-systemd" +SYSTEMD_SERVICE_${PN} = "crond.service" + +SRC_URI += "file://crond.service" + +do_install_append() { + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system +} + -- cgit v1.2.3-54-g00ecf