ref: refs/heads/network
commit b9cf8562f5ffd6934c0d996e0bbab1377a3b62fa
Author: Stefan Schubert
Date: Wed Sep 16 10:00:44 2009 +0200
enable collectd while installation; Bug 538041
---
.../status/package/yast2-webservice-status.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/plugins/status/package/yast2-webservice-status.spec b/plugins/status/package/yast2-webservice-status.spec
index dac8013..d4bbbe1 100644
--- a/plugins/status/package/yast2-webservice-status.spec
+++ b/plugins/status/package/yast2-webservice-status.spec
@@ -20,8 +20,8 @@ Source: www.tar.bz2
Source1: org.opensuse.yast.system.status.policy
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
-PreReq: yast2-webservice
-Requires: collectd rrdtool
+PreReq: yast2-webservice, collectd
+Requires: rrdtool
#
%define pkg_user yastws
@@ -61,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT
# granting all permissions for root
#
/etc/yastws/tools/policyKit-rights.rb --user root --action grant >& /dev/null || :
+#
+# enable and start collectd
+#
+insserv collectd
+/etc/init.d/collectd start
%files
%defattr(-,root,root)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org