atftp: move systemd support to meta-systemd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2012-06-10 21:46:47 +00:00
committed by Koen Kooi
parent 9f2dd8c0ae
commit ca89a23506
3 changed files with 13 additions and 7 deletions
@@ -0,0 +1,10 @@
[Unit]
Description=Advanced TFTP Server
After=syslog.target network.target
[Service]
Type=forking
ExecStart=/usr/sbin/atftpd --daemon --port 69
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,10 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC := "${@int(PRINC) + 1}"
inherit systemd
SRC_URI += "file://atftpd.service"
SYSTEMD_PACKAGES = "atftpd-systemd"
SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service"