public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: add file trigger to restart the php-fpm service
@ 2026-11-27  7:29 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27  7:29 UTC (permalink / raw)
  To: git-commits

          A new commit has been pushed.

          Repo   : rpms/php
          Branch : private-php86
          Commit : f5887aa91309bb5d3143541c347778b62f5f6d09
          Author : Remi Collet <remi@fedoraproject.org>
          Date   : 2018-03-15T09:50:19+01:00
          Stats  : +8/-3 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/php/c/f5887aa91309bb5d3143541c347778b62f5f6d09?branch=private-php86

          Log:
          add file trigger to restart the php-fpm service
when new pool or new extension installed #1556762

---
diff --git a/php.spec b/php.spec
index e3c86dd..d02cd31 100644
--- a/php.spec
+++ b/php.spec
@@ -65,7 +65,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: %{upver}%{?rcver:~%{rcver}}
-Release: 1%{?dist}
+Release: 2%{?dist}
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
 # TSRM is licensed under BSD
@@ -1398,8 +1398,9 @@ rm -f README.{Zeus,QNX,CVS-RULES}
 %preun fpm
 %systemd_preun php-fpm.service
 
-%postun fpm
-%systemd_postun_with_restart php-fpm.service
+# Raised by new pool installation or new extension installation
+%transfiletriggerin fpm -- %{_sysconfdir}/php-fpm.d %{_sysconfdir}/php.d
+systemctl try-restart %{?scl:%{scl}-}php-fpm.service
 
 
 %files
@@ -1559,6 +1560,10 @@ rm -f README.{Zeus,QNX,CVS-RULES}
 
 
 %changelog
+* Thu Mar 15 2018 Remi Collet <remi@remirepo.net> - 7.2.4~RC1-2
+- add file trigger to restart the php-fpm service
+  when new pool or new extension installed #1556762
+
 * Tue Mar 13 2018 Remi Collet <remi@remirepo.net> - 7.2.4~RC1-1
 - update to 7.2.4RC1
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:29 [rpms/php] private-php86: add file trigger to restart the php-fpm service Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox