[packages/munin] - do not enable asyncd by default, as it requires additional manual configuration to be usefull -

baggins baggins at pld-linux.org
Sun Aug 18 13:43:28 CEST 2013


commit 2465cb76f2f9b446e1b1d5335a8d120967fba5e2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Aug 18 13:42:39 2013 +0200

    - do not enable asyncd by default, as it requires additional manual
      configuration to be usefull
    - rel 3

 munin.spec | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/munin.spec b/munin.spec
index b75222e..0f9414a 100644
--- a/munin.spec
+++ b/munin.spec
@@ -10,7 +10,7 @@ Summary:	Munin - the Linpro RRD data agent
 Summary(pl.UTF-8):	Munin - agent danych RRD Linpro
 Name:		munin
 Version:	2.0.17
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://downloads.sourceforge.net/munin/%{name}-%{version}.tar.gz
@@ -220,12 +220,12 @@ done
 %post node
 if [ "$1" = "1" ] ; then
 	/sbin/chkconfig --add munin-node
-	/sbin/chkconfig --add munin-asyncd
 	%{_sbindir}/munin-node-configure --shell | sh
 fi
 %service munin-node restart "Munin Node agent"
-%service munin-asyncd restart "Munin Asyncd agent"
-%systemd_post munin-node.service munin-asyncd.service
+%service munin-asyncd try-restart "Munin Asyncd agent"
+%systemd_post munin-node.service
+%systemd_restart munin-asyncd.service
 
 %preun node
 if [ "$1" = "0" ] ; then
@@ -239,10 +239,8 @@ fi
 %postun node
 %systemd_reload
 
-%triggerpostun node -- munin-node < 2.0.17-2
+%triggerpostun node -- munin-node < 2.0.17-1
 %systemd_trigger munin-node.service
-%systemd_service_enable munin-asyncd.service
-/sbin/chkconfig --add munin-asyncd
 
 %pre common
 %groupadd -g 158 munin
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/munin.git/commitdiff/2465cb76f2f9b446e1b1d5335a8d120967fba5e2



More information about the pld-cvs-commit mailing list