atftp: install socket file while atftpd is enabled

Change-Id: I7bdb91d8bcfa29d2343b6c63da18939a12527412
Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/23036
Tested-by: gerrit-photon <photon-checkins@vmware.com>
This commit is contained in:
Shreenidhi Shedi 2024-01-09 12:22:26 +05:30
parent aea888a9cb
commit cb44c37ecb
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: Advanced Trivial File Transfer Protocol (ATFTP) - TFTP server
Name: atftp
Version: 0.8.0
Release: 6%{?dist}
Release: 7%{?dist}
URL: http://sourceforge.net/projects/atftp
License: GPLv2+ and GPLv3+ and LGPLv2+
Group: System Environment/Daemons
@ -112,6 +112,8 @@ rm -rf %{buildroot}
%{_bindir}/atftp
%changelog
* Tue Jan 09 2024 Shreenidhi Shedi <shreenidhi.shedi@broadcom.com> 0.8.0-7
- Install socket unit when atftpd service is enabled
* Fri Jan 05 2024 Shreenidhi Shedi <shreenidhi.shedi@broadcom.com> 0.8.0-6
- Fix service file, start socket unit automatically
* Tue Aug 08 2023 Mukul Sikka <msikka@vmware.com> 0.8.0-5

View File

@ -6,3 +6,6 @@ Requires=atftpd.socket
EnvironmentFile=@SYSCONFDIR@/sysconfig/atftpd
ExecStart=@SBINDIR@/atftpd --user $ATFTPD_USER --group $ATFTPD_GROUP $ATFTPD_DIRECTORY
StandardInput=socket
[Install]
Also=atftpd.socket