/[smeserver]/rpms/smeserver-php/sme10/smeserver-php-fpm-0.1.1-bz10335-fix3-systemd-units.patch
ViewVC logotype

Contents of /rpms/smeserver-php/sme10/smeserver-php-fpm-0.1.1-bz10335-fix3-systemd-units.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Mar 11 04:58:56 2020 UTC (4 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-7_el7_sme, smeserver-php-3_0_0-12_el7_sme, smeserver-php-3_0_0-11_el7_sme, smeserver-php-3_0_0-6_el7_sme, smeserver-php-3_0_0-10_el7_sme, smeserver-php-3_0_0-9_el7_sme, smeserver-php-3_0_0-8_el7_sme
* Wed Mar 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-6.sme
- enable units for php-fpm services [SME: 10335]

1 diff -Nur smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks
2 --- smeserver-php-3.0.0.old/createlinks 2020-03-11 00:51:09.445000000 -0400
3 +++ smeserver-php-3.0.0/createlinks 2020-03-11 00:55:35.581000000 -0400
4 @@ -81,3 +81,10 @@
5 event_link("php-pool-dirs", qw(ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update), "90");
6 event_link("php-pool-customs", qw(ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update console-save post-upgrade post-install), "90");
7
8 +# systemd units
9 +foreach $ver (qw( 55 56 70 71 72 73 74 )){
10 +$service = "php$ver-php-fpm.service";
11 +safe_symlink("root/usr/lib/systemd/system/$service", "root/etc/systemd/system/multi-user.target.wants/$service");
12 +}
13 +$service = "php-fpm.service";
14 +safe_symlink("root/usr/lib/systemd/system/$service", "root/etc/systemd/system/multi-user.target.wants/$service");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed