SPECS: lucas.spec - use %service
darekr
darekr at pld-linux.org
Tue May 2 21:42:18 CEST 2006
Author: darekr Date: Tue May 2 19:42:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use %service
---- Files affected:
SPECS:
lucas.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/lucas.spec
diff -u SPECS/lucas.spec:1.4 SPECS/lucas.spec:1.5
--- SPECS/lucas.spec:1.4 Sun Jun 26 20:45:42 2005
+++ SPECS/lucas.spec Tue May 2 21:42:13 2006
@@ -32,7 +32,7 @@
Summary: LDAP Update Monitor
Summary(pl): LDAP Update Monitor - monitor uaktualnień LDAP
Group: Applications/System
-PreReq: rc-scripts
+Requires: rc-scripts
Requires(post,preun): /sbin/chkconfig
Requires(pre): /bin/id
Requires(pre): /usr/sbin/useradd
@@ -73,17 +73,11 @@
%post -n lum
/sbin/chkconfig --add lum
-if [ -f /var/lock/subsys/lum ]; then
- /etc/rc.d/init.d/lum restart >&2
-else
- echo "Run \"/etc/rc.d/init.d/lum start\" to start lum service." >&2
-fi
+%service lum restart
%preun -n lum
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/lum ]; then
- /etc/rc.d/init.d/lum stop
- fi
+ %service lum stop
/sbin/chkconfig --del lum
fi
@@ -109,6 +103,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/05/02 19:42:13 darekr
+- use %service
+
Revision 1.4 2005/06/26 18:45:42 glen
- bashed double slash
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lucas.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list