diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-systemd/oe-core/recipes-extended/cronie | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-systemd/oe-core/recipes-extended/cronie')
-rw-r--r-- | meta-systemd/oe-core/recipes-extended/cronie/cronie/crond.service | 10 | ||||
-rw-r--r-- | meta-systemd/oe-core/recipes-extended/cronie/cronie_1.4.11.bbappend | 17 |
2 files changed, 27 insertions, 0 deletions
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 @@ | |||
1 | [Unit] | ||
2 | Description=Periodic Command Scheduler | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=/usr/sbin/crond -n | ||
6 | ExecReload=/bin/kill -HUP $MAINPID | ||
7 | Restart=always | ||
8 | |||
9 | [Install] | ||
10 | 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 @@ | |||
1 | # look for files in the layer first | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | inherit systemd | ||
5 | |||
6 | RPROVIDES_${PN} += "${PN}-systemd" | ||
7 | RREPLACES_${PN} += "${PN}-systemd" | ||
8 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
9 | SYSTEMD_SERVICE_${PN} = "crond.service" | ||
10 | |||
11 | SRC_URI += "file://crond.service" | ||
12 | |||
13 | do_install_append() { | ||
14 | install -d ${D}${systemd_unitdir}/system | ||
15 | install -m 0644 ${WORKDIR}/crond.service ${D}${systemd_unitdir}/system | ||
16 | } | ||
17 | |||