summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-15 10:15:59 +0100
committerRemi Collet <remi@remirepo.net>2018-03-15 10:15:59 +0100
commit1f07ade69b29ba73472071ce81bbe0c73b67f3a6 (patch)
tree988cd4c2e3624b86c808257ba0b80978ae4c2a4f
parent8b4b9e0e746f3f0ffd9a9ee5160f3d8b6cb23270 (diff)
make file trigger silent
-rw-r--r--php.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php.spec b/php.spec
index 49cc5ac..9a496ae 100644
--- a/php.spec
+++ b/php.spec
@@ -1660,7 +1660,7 @@ fi
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
# 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
+systemctl try-restart %{?scl:%{scl}-}php-fpm.service >/dev/null 2>&1 || :
%endif
# Handle upgrading from SysV initscript to native systemd unit.