]> git.pld-linux.org Git - packages/nagios-plugin-check_poldek.git/commitdiff
- use nagios user for %post auto/th/nagios-plugin-check_poldek-0_4-1 auto/ti/nagios-plugin-check_poldek-0_4-1
authorpawelz <pawelz@pld-linux.org>
Tue, 11 May 2010 14:55:37 +0000 (14:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- up to 0.4

Changed files:
    nagios-plugin-check_poldek.spec -> 1.12

nagios-plugin-check_poldek.spec

index 6034e2901ba83f9b42222fbbe23b0ed3f92c377e..78ce68090086f5f443be649339d392a0a574da53 100644 (file)
@@ -2,12 +2,12 @@
 Summary:       Nagios plugin to check updates of poldek based systems
 Summary(pl.UTF_8):     Wtyczka Nagiosa sprawdzająca aktualizacje systemów używających poldka
 Name:          nagios-plugin-%{plugin}
-Version:       0.3
+Version:       0.4
 Release:       1
 License:       MIT
 Group:         Networking
 Source0:       http://github.com/pawelz/nagios-check_poldek/tarball/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: f3efc8d83b8022945657ea583645e820
+# Source0-md5: 52eb9d732acb630b4e97f7032532c6a4
 URL:           http://github.com/pawelz/nagios-check_poldek
 BuildRequires: rpmbuild(macros) >= 1.552
 Requires:      grep
@@ -57,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT
 %nagios_nrpe -d %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
 
 %post
-poldek --cache %{cachedir} -q --up
+su -s /bin/sh -c 'poldek --cache %{cachedir} -q --up' nagios
 
 %files
 %defattr(644,root,root,755)
This page took 0.08324 seconds and 4 git commands to generate.