]> git.pld-linux.org Git - packages/nagios-nrpe.git/commitdiff
- fix initscript name auto/ac/nagios-nrpe-2_0-2
authorankry <ankry@pld-linux.org>
Wed, 25 Aug 2004 23:32:57 +0000 (23:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios-nrpe.spec -> 1.9

nagios-nrpe.spec

index 3349ff26fae47a154eaba075b2072f8427216b47..ec6b8e712cc563176e4bb555b1899ad0d9d40f7f 100644 (file)
@@ -114,17 +114,17 @@ else
 fi
 
 %post
-/sbin/chkconfig --add %{name}
-if [ -f /var/lock/subsys/%{name} ]; then
-       /etc/rc.d/init.d/%{name} restart 1>&2
+/sbin/chkconfig --add nrpe
+if [ -f /var/lock/subsys/nrpe ]; then
+       /etc/rc.d/init.d/nrpe restart 1>&2
 fi
 
 %preun
 if [ "$1" = "0" ] ; then
-       if [ -f /var/lock/subsys/%{name} ]; then
-               /etc/rc.d/init.d/%{name} stop 1>&2
+       if [ -f /var/lock/subsys/nrpe ]; then
+               /etc/rc.d/init.d/nrpe stop 1>&2
        fi
-       /sbin/chkconfig --del %{name}
+       /sbin/chkconfig --del nrpe
 fi
 
 %postun
@@ -136,7 +136,7 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc Changelog LEGAL README* SECURITY
-%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%attr(754,root,root) /etc/rc.d/init.d/nrpe
 %attr(751,root,%{nsgrp}) %dir %{_sysconfdir}
 %attr(644,root,%{nsgrp}) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/nrpe.cfg
 %attr(755,root,root) %{_sbindir}/nrpe
This page took 0.048298 seconds and 4 git commands to generate.