public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: add file trigger to restart the php-fpm service
Date: Fri, 27 Nov 2026 07:29:07 GMT	[thread overview]
Message-ID: <179576454704.1.16882629530810346694.rpms-php-f5887aa91309@fedoraproject.org> (raw)

          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
 

                 reply	other threads:[~2026-11-27  7:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576454704.1.16882629530810346694.rpms-php-f5887aa91309@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox