mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-16 06:30:16 +00:00
atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
9f2dd8c0ae
commit
ca89a23506
@@ -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"
|
||||
Reference in New Issue
Block a user