diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-10-29 17:26:03 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2013-01-08 09:31:52 -0800 |
commit | 087ecf88f47bbdb1ff56f4b9b15c39581482794c (patch) | |
tree | 796862eb96c2bcaae6a288d6dc993c5ea18edaa0 | |
parent | af1e1e3f55050ab25ce3b6f37e3ee3b3b318f7e4 (diff) | |
download | meta-openembedded-087ecf88f47bbdb1ff56f4b9b15c39581482794c.tar.gz |
at: Add systemd unit file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-systemd/meta-oe/recipes-extended/at/at/atd.service | 9 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-systemd/meta-oe/recipes-extended/at/at/atd.service b/meta-systemd/meta-oe/recipes-extended/at/at/atd.service new file mode 100644 index 000000000..64a901550 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/at/at/atd.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description=Job spooling tools | ||
3 | After=syslog.target | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/usr/sbin/atd -f | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend b/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend new file mode 100644 index 000000000..d80cfff2e --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend | |||
@@ -0,0 +1,12 @@ | |||
1 | inherit systemd | ||
2 | |||
3 | PRINC := "${@int(PRINC) + 1}" | ||
4 | |||
5 | # look for files in the layer first | ||
6 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
7 | |||
8 | SRC_URI += "file://atd.service" | ||
9 | |||
10 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
11 | SYSTEMD_SERVICE = "atd.service" | ||
12 | |||