Projects
Kolab:16:Testing:Candidate
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 56
View file
kolab-syncroton.spec
Changed
@@ -17,6 +17,12 @@ %{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} +%if 0%{?suse_version} < 1 && 0%{?fedora} < 1 && 0%{?rhel} < 7 +%global with_systemd 0 +%else +%global with_systemd 1 +%endif + %if 0%{?suse_version} %global httpd_group www %global httpd_name apache2 @@ -165,7 +171,7 @@ %post if -f "%{php_inidir}/apc.ini" -o -f "%{php_inidir}/apcu.ini" ; then if ! -z "`grep ^apc.enabled=1 %{php_inidir}/apc{,u}.ini 2>/dev/null`" ; then -%if 0%{?fedora} > 15 +%if 0%{?with_systemd} /bin/systemctl condrestart %{httpd_name}.service %else /sbin/service %{httpd_name} condrestart @@ -177,6 +183,27 @@ /bin/systemctl reload php-fpm.service || : fi +if -f "/usr/lib/systemd/system/plesk-php74-fpm.service" ; then + /bin/systemctl reload plesk-php74-fpm.service || : +fi + +if -f "/usr/lib/systemd/system/plesk-php80-fpm.service" ; then + /bin/systemctl reload plesk-php80-fpm.service || : +fi + +if -f "/usr/lib/systemd/system/plesk-php81-fpm.service" ; then + /bin/systemctl reload plesk-php81-fpm.service || : +fi + +if -f "/usr/lib/systemd/system/plesk-php82-fpm.service" ; then + /bin/systemctl reload plesk-php82-fpm.service || : +fi + +if -f "/usr/lib/systemd/system/plesk-php83-fpm.service" ; then + /bin/systemctl reload plesk-php83-fpm.service || : +fi + + %if 0%{?plesk} > 0 && 0%{?rhel} == 7 php="/opt/plesk/php/7.4/bin/php"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.