diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-08-23 17:14:53 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-31 14:59:52 +0200 |
commit | 87377c81cf163ac2bc3940b2d0b130e0c9ebc56a (patch) | |
tree | 7f4bee4e6323a58c6df1a43f0d13e554ec71b785 /meta-networking/recipes-daemons/tftp-hpa/files | |
parent | 1b793a9abc6f0b884b63dbdd545acdd002b98ae6 (diff) | |
download | meta-openembedded-contrib-87377c81cf163ac2bc3940b2d0b130e0c9ebc56a.tar.gz |
tftp-hpa: add systemd unit files
Add systemd unit files for tftp-hpa.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/tftp-hpa/files')
-rw-r--r-- | meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.service | 10 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.socket | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.service b/meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.service new file mode 100644 index 0000000000..97d56586be --- /dev/null +++ b/meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.service @@ -0,0 +1,10 @@ +[Unit] +Description=Tftp Server +Requires=tftpd-hpa.socket + +[Service] +ExecStart=@SBINDIR@/in.tftpd-hpa -s /var/lib/tftpboot +StandardInput=socket + +[Install] +Also=tftpd-hpa.socket diff --git a/meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.socket b/meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.socket new file mode 100644 index 0000000000..8764c1de34 --- /dev/null +++ b/meta-networking/recipes-daemons/tftp-hpa/files/tftpd-hpa.socket @@ -0,0 +1,8 @@ +[Unit] +Description=Tftp Server Activation Socket + +[Socket] +ListenDatagram=69 + +[Install] +WantedBy=sockets.target |