summaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-06-10 21:46:47 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-16 09:39:06 +0200
commitca89a235067f3328ceaa3c7a0a5bb599aaa4b428 (patch)
tree1f90a4a6a4596c1478a0f68ad6fb87017730bb86 /meta-systemd/meta-oe/recipes-extended
parent9f2dd8c0ae46507989f4cb8f24edc87ed91bebac (diff)
downloadmeta-openembedded-ca89a235067f3328ceaa3c7a0a5bb599aaa4b428.tar.gz
atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-systemd/meta-oe/recipes-extended')
-rw-r--r--meta-systemd/meta-oe/recipes-extended/atftp/atftp/atftpd.service10
-rw-r--r--meta-systemd/meta-oe/recipes-extended/atftp/atftp_0.7.bbappend10
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 000000000..480bc702e
--- /dev/null
+++ b/meta-systemd/meta-oe/recipes-extended/atftp/atftp/atftpd.service
@@ -0,0 +1,10 @@
1[Unit]
2Description=Advanced TFTP Server
3After=syslog.target network.target
4
5[Service]
6Type=forking
7ExecStart=/usr/sbin/atftpd --daemon --port 69
8
9[Install]
10WantedBy=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 000000000..3706d9f2b
--- /dev/null
+++ b/meta-systemd/meta-oe/recipes-extended/atftp/atftp_0.7.bbappend
@@ -0,0 +1,10 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3PRINC := "${@int(PRINC) + 1}"
4
5inherit systemd
6
7SRC_URI += "file://atftpd.service"
8
9SYSTEMD_PACKAGES = "atftpd-systemd"
10SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service"