Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> network : improved handling of status_limits.yaml (Bug 525450); forcing insserv of collectd
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Thu, 17 Sep 2009 09:48:28 +0200
  • Message-id: <E1MpgSm-0008AQ-3F@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit a59420aabe97cd08e489ad7bea0274ace233d1b9
Author: Stefan Schubert <schubi@xxxxxxx>
Date: Thu Sep 17 09:48:28 2009 +0200

improved handling of status_limits.yaml (Bug 525450); forcing insserv of
collectd
---
.../status/package/yast2-webservice-status.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/plugins/status/package/yast2-webservice-status.spec
b/plugins/status/package/yast2-webservice-status.spec
index d4bbbe1..6232a2f 100644
--- a/plugins/status/package/yast2-webservice-status.spec
+++ b/plugins/status/package/yast2-webservice-status.spec
@@ -48,6 +48,7 @@ Authors:
#
mkdir -p $RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
cp -a * $RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+rm
$RPM_BUILD_ROOT/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/config/status_limits.yaml

# Policies
mkdir -p $RPM_BUILD_ROOT/usr/share/PolicyKit/policy
@@ -64,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
#
# enable and start collectd
#
-insserv collectd
+insserv -f collectd
/etc/init.d/collectd start

%files
@@ -73,6 +74,7 @@ insserv collectd
%dir /srv/www/%{pkg_user}/vendor
%dir /srv/www/%{pkg_user}/vendor/plugins
%dir /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+%attr(-,%{pkg_user},%{pkg_user}) %dir
/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/config
%dir /usr/share/PolicyKit
%dir /usr/share/PolicyKit/policy
/srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/*
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages