start socket as well when starting the service

This commit is contained in:
Jan Synacek 2014-02-19 08:56:01 +01:00
parent 629a32ec28
commit 1f86b3299f
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
[Unit]
Description=Tftp Server
Requires=tftp.socket
[Service]
ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot

View File

@ -4,7 +4,7 @@
Summary: The client for the Trivial File Transfer Protocol (TFTP)
Name: tftp
Version: 5.2
Release: 11%{?dist}
Release: 12%{?dist}
License: BSD
Group: Applications/Internet
URL: http://www.kernel.org/pub/software/network/tftp/
@ -102,6 +102,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_unitdir}/*
%changelog
* Wed Feb 19 2014 Jan Synáček <jsynacek@redhat.com> - 5.2-12
- start socket as well when starting the service
* Thu Feb 13 2014 Jan Synáček <jsynacek@redhat.com> - 5.2-11
- don't depend on xinetd anymore (#1059641)