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/meta-oe/recipes-extended | |
parent | 9f2dd8c0ae46507989f4cb8f24edc87ed91bebac (diff) | |
download | meta-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.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 000000000..480bc702e --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/atftp/atftp/atftpd.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=Advanced TFTP Server | ||
3 | After=syslog.target network.target | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | ExecStart=/usr/sbin/atftpd --daemon --port 69 | ||
8 | |||
9 | [Install] | ||
10 | 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 000000000..3706d9f2b --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/atftp/atftp_0.7.bbappend | |||
@@ -0,0 +1,10 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | PRINC := "${@int(PRINC) + 1}" | ||
4 | |||
5 | inherit systemd | ||
6 | |||
7 | SRC_URI += "file://atftpd.service" | ||
8 | |||
9 | SYSTEMD_PACKAGES = "atftpd-systemd" | ||
10 | SYSTEMD_SERVICE_atftpd-systemd = "atftpd.service" | ||