packages: php/php.spec - uid http for fpm (@PHP_5_2)
glen
glen at pld-linux.org
Tue Mar 16 10:51:46 CET 2010
Author: glen Date: Tue Mar 16 09:51:46 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- uid http for fpm (@PHP_5_2)
---- Files affected:
packages/php:
php.spec (1.853 -> 1.854)
---- Diffs:
================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.853 packages/php/php.spec:1.854
--- packages/php/php.spec:1.853 Tue Mar 16 10:47:04 2010
+++ packages/php/php.spec Tue Mar 16 10:51:41 2010
@@ -2195,6 +2195,9 @@
%service -q httpd restart
fi
+%pre fpm
+%useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
+
%post fpm
/sbin/chkconfig --add php-fpm
%service php-fpm restart
@@ -2205,6 +2208,11 @@
/sbin/chkconfig --del php-fpm
fi
+%postun fpm
+if [ "$1" = "0" ]; then
+ %userremove http
+fi
+
%post common -p /sbin/ldconfig
%postun common -p /sbin/ldconfig
@@ -3020,6 +3028,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.854 2010/03/16 09:51:41 glen
+- uid http for fpm (@PHP_5_2)
+
Revision 1.853 2010/03/16 09:47:04 glen
- tests need cli sapi config/makefile
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.853&r2=1.854&f=u
More information about the pld-cvs-commit
mailing list