mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
cronie: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
36aa9a4fc0
commit
8149b358f9
@@ -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
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user