* Wed Mar 05 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-16.sme

- change key type from service to configuration [SME: 11367]
  cleanup older php and php-fpm keys
- set base php to php84 [SME: 12952]
  fix missing bits for php74 support
This commit is contained in:
2025-03-05 22:52:37 -05:00
parent d2789e5967
commit 4c21e412da
29 changed files with 34 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
for VER in php php72 php73 php74 php80 php81 php82 php83; do
for VER in php php72 php73 php74 php80 php81 php82 php83 php84; do
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/tmp
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/opcache
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/wsdlcache

View File

@@ -18,6 +18,7 @@ $OUT = "/var/log/php/*/php*fpm.log {
/sbin/e-smith/service php81-php-fpm reload >/dev/null 2>&1 || true
/sbin/e-smith/service php82-php-fpm reload >/dev/null 2>&1 || true
/sbin/e-smith/service php83-php-fpm reload >/dev/null 2>&1 || true
/sbin/e-smith/service php84-php-fpm reload >/dev/null 2>&1 || true
endscript
}
@@ -37,6 +38,7 @@ $OUT = "/var/log/php/*/php*fpm.log {
/sbin/e-smith/service php81-php-fpm reload >/dev/null 2>&1 || true
/sbin/e-smith/service php82-php-fpm reload >/dev/null 2>&1 || true
/sbin/e-smith/service php83-php-fpm reload >/dev/null 2>&1 || true
/sbin/e-smith/service php84-php-fpm reload >/dev/null 2>&1 || true
endscript
}
";

View File

@@ -18,3 +18,5 @@
& stop
:programname, startswith, "php83-fpm" /var/log/php/php83/php83-fpm.log
& stop
:programname, startswith, "php84-fpm" /var/log/php/php84/php84-fpm.log
& stop