SPECS: smokeping.spec - use proper macro for adding user to group, no banner
blues
blues at pld-linux.org
Mon Feb 16 10:15:10 CET 2009
Author: blues Date: Mon Feb 16 09:15:10 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use proper macro for adding user to group, no banner
---- Files affected:
SPECS:
smokeping.spec (1.62 -> 1.63)
---- Diffs:
================================================================
Index: SPECS/smokeping.spec
diff -u SPECS/smokeping.spec:1.62 SPECS/smokeping.spec:1.63
--- SPECS/smokeping.spec:1.62 Mon Feb 16 02:16:14 2009
+++ SPECS/smokeping.spec Mon Feb 16 10:15:05 2009
@@ -144,10 +144,7 @@
%post
/sbin/chkconfig --add %{name}
-%banner -e %{name} << EOF
-fping probe (if used) needs smokeping user to be in adm group, e.g.
- usermod -G adm smokeping
-EOF
+%addusertogroup smokeping adm
%preun
if [ "$1" = 0 ]; then
@@ -247,6 +244,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.63 2009/02/16 09:15:05 blues
+- use proper macro for adding user to group, no banner
+
Revision 1.62 2009/02/16 01:16:14 gotar
- smokeping creates pid file on it's own, so no need for newer rc-scripts surprises
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/smokeping.spec?r1=1.62&r2=1.63&f=u
More information about the pld-cvs-commit
mailing list