diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-06-10 21:46:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-16 09:39:06 +0200 |
commit | ca89a235067f3328ceaa3c7a0a5bb599aaa4b428 (patch) | |
tree | 1f90a4a6a4596c1478a0f68ad6fb87017730bb86 /meta-systemd | |
parent | 9f2dd8c0ae46507989f4cb8f24edc87ed91bebac (diff) | |
download | meta-openembedded-contrib-ca89a235067f3328ceaa3c7a0a5bb599aaa4b428.tar.gz |
atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-systemd')
-rw-r--r-- | meta-systemd/meta-oe/recipes-extended/atftp/atftp/atftpd.service | 10 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-extended/atftp/atftp_0.7.bbappend | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-systemd/meta-oe/recipes-extended/atftp/atftp/atftpd.service b/meta-systemd/meta-oe/recipes-extended/atftp/atftp/atftpd.service new file mode 100644 index 0000000000..480bc702e9 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/atftp/atftp/atftpd.service @@ -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 diff --git a/meta-systemd/meta-oe/recipes-extended/atftp/atftp_0.7.bbappend b/meta-systemd/meta-oe/recipes-extended/atftp/atftp_0.7.bbappend new file mode 100644 index 0000000000..3706d9f2b2 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/atftp/atftp_0.7.bbappend @@ -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" |