summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-10-29 17:26:03 -0700
committerKhem Raj <raj.khem@gmail.com>2013-01-08 09:31:52 -0800
commit087ecf88f47bbdb1ff56f4b9b15c39581482794c (patch)
tree796862eb96c2bcaae6a288d6dc993c5ea18edaa0
parentaf1e1e3f55050ab25ce3b6f37e3ee3b3b318f7e4 (diff)
downloadmeta-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.service9
-rw-r--r--meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend12
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]
2Description=Job spooling tools
3After=syslog.target
4
5[Service]
6ExecStart=/usr/sbin/atd -f
7
8[Install]
9WantedBy=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 @@
1inherit systemd
2
3PRINC := "${@int(PRINC) + 1}"
4
5# look for files in the layer first
6FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
7
8SRC_URI += "file://atd.service"
9
10SYSTEMD_PACKAGES = "${PN}-systemd"
11SYSTEMD_SERVICE = "atd.service"
12