[rinetd] fix #1000681 - add Install section to service file

Jan Kaluža jkaluza at fedoraproject.org
Tue Jan 7 09:41:51 UTC 2014


commit 67bad4802e3bebfe7751c6ea8ddcc9ef823bfafa
Author: Jan Kaluza <jkaluza at redhat.com>
Date:   Tue Jan 7 10:41:31 2014 +0100

    fix #1000681 - add Install section to service file

 rinetd.service |    3 +++
 rinetd.spec    |    5 ++++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/rinetd.service b/rinetd.service
index 4da213d..e62362e 100644
--- a/rinetd.service
+++ b/rinetd.service
@@ -6,3 +6,6 @@ Type=forking
 PIDFile=/var/run/rinetd.pid
 ExecStart=/usr/sbin/rinetd
 ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
diff --git a/rinetd.spec b/rinetd.spec
index f8c101b..5c06cec 100644
--- a/rinetd.spec
+++ b/rinetd.spec
@@ -3,7 +3,7 @@
 Summary: TCP redirection server
 Name: rinetd
 Version: 0.62
-Release: 15%{?dist}
+Release: 16%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://www.boutell.com/rinetd
@@ -84,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_unitdir}/*.service
 
 %changelog
+* Tue Jan 07 2014 Jan Kaluza <jkaluza at redhat.com> - 0.62-16
+- fix #1000681 - add Install section to service file
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.62-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list