at: Add systemd unit file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2012-10-29 17:26:03 -07:00
parent af1e1e3f55
commit 087ecf88f4
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,9 @@
[Unit]
Description=Job spooling tools
After=syslog.target
[Service]
ExecStart=/usr/sbin/atd -f
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,12 @@
inherit systemd
PRINC := "${@int(PRINC) + 1}"
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://atd.service"
SYSTEMD_PACKAGES = "${PN}-systemd"
SYSTEMD_SERVICE = "atd.service"