Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> jr_ntp : enable collectd while installation; Bug 538041
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Wed, 16 Sep 2009 10:00:44 +0200
  • Message-id: <E1MpkqS-000573-Ej@xxxxxxxxxxxxxxxx>
ref: refs/heads/jr_ntp
commit b9cf8562f5ffd6934c0d996e0bbab1377a3b62fa
Author: Stefan Schubert <schubi@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages