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"); |