[tftp] start socket as well when starting the service

jsynacek jsynacek at fedoraproject.org
Wed Feb 19 08:04:24 UTC 2014


commit 1f86b3299f04684be5db03409fd4e6d392bca804
Author: Jan Synacek <jsynacek at redhat.com>
Date:   Wed Feb 19 08:56:01 2014 +0100

    start socket as well when starting the service

 tftp.service |    1 +
 tftp.spec    |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tftp.service b/tftp.service
index 43d961c..93d1ae8 100644
--- a/tftp.service
+++ b/tftp.service
@@ -1,5 +1,6 @@
 [Unit]
 Description=Tftp Server
+Requires=tftp.socket
 
 [Service]
 ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot
diff --git a/tftp.spec b/tftp.spec
index f98f6e8..f1552f6 100644
--- a/tftp.spec
+++ b/tftp.spec
@@ -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 at redhat.com> - 5.2-12
+- start socket as well when starting the service
+
 * Thu Feb 13 2014 Jan Synáček <jsynacek at redhat.com> - 5.2-11
 - don't depend on xinetd anymore (#1059641)
 


More information about the scm-commits mailing list