SPECS: prelude-lml.spec - 0.9.4 rel 0.2 - use %service

mguevara mguevara at pld-linux.org
Wed Apr 12 16:14:13 CEST 2006


Author: mguevara                     Date: Wed Apr 12 14:14:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.9.4 rel 0.2 - use %service

---- Files affected:
SPECS:
   prelude-lml.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/prelude-lml.spec
diff -u SPECS/prelude-lml.spec:1.6 SPECS/prelude-lml.spec:1.7
--- SPECS/prelude-lml.spec:1.6	Tue Apr 11 18:22:29 2006
+++ SPECS/prelude-lml.spec	Wed Apr 12 16:14:07 2006
@@ -3,7 +3,7 @@
 Summary(pl):	System wykrywania intruzów w sieci
 Name:		prelude-lml
 Version:	0.9.4
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications
 Source0:	http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz
@@ -61,15 +61,15 @@
 %post
 /sbin/chkconfig --add prelude-lml
 if [ -f /var/lock/subsys/prelude-lml ]; then
-	/etc/rc.d/init.d/prelude-lml restart 1>&2
+	%service prelude-lml restart 1>&2
 else
-	echo "Run \"/etc/rc.d/init.d/prelude-lml start\" to start Prelude LML."
+	echo "Run \"/sbin/service prelude-lml start\" to start Prelude LML."
 fi
 
 %preun
 if [ "$1" = "0" ]; then
 	if [ -f /var/lock/subsys/prelude-lml ]; then
-		/etc/rc.d/init.d/prelude-lml stop 1>&2
+		%service prelude-lml stop 1>&2
 	fi
 	/sbin/chkconfig --del prelude-lml
 fi
@@ -97,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/04/12 14:14:07  mguevara
+- 0.9.4 rel 0.2 - use %service
+
 Revision 1.6  2006/04/11 16:22:29  mguevara
 - 0.9.4 rel 0.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/prelude-lml.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list