SPECS: fwlogwatch.spec - use %service
darekr
darekr at pld-linux.org
Sun Sep 10 01:00:29 CEST 2006
Author: darekr Date: Sat Sep 9 23:00:29 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use %service
---- Files affected:
SPECS:
fwlogwatch.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SPECS/fwlogwatch.spec
diff -u SPECS/fwlogwatch.spec:1.17 SPECS/fwlogwatch.spec:1.18
--- SPECS/fwlogwatch.spec:1.17 Sat Jul 1 16:01:13 2006
+++ SPECS/fwlogwatch.spec Sun Sep 10 01:00:23 2006
@@ -65,17 +65,11 @@
%post
/sbin/chkconfig --add %{name}
-if [ -f %{_var}/lock/subsys/%{name} ]; then
- /etc/rc.d/init.d/%{name} restart 1>&2
-else
- echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
-fi
+%service %{name} restart
%preun
if [ "$1" = "0" ]; then
- if [ -f %{_var}/lock/subsys/%{name} ]; then
- /etc/rc.d/init.d/%{name} stop 1>&2
- fi
+ %service %{name} stop
/sbin/chkconfig --del %{name}
fi
@@ -95,6 +89,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2006/09/09 23:00:23 darekr
+- use %service
+
Revision 1.17 2006/07/01 14:01:13 zbyniu
- up to 1.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/fwlogwatch.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list