8 |
+# systemd units |
+# systemd units |
9 |
+foreach $ver (qw( 55 56 70 71 72 73 74 )){ |
+foreach $ver (qw( 55 56 70 71 72 73 74 )){ |
10 |
+$service = "php$ver-php-fpm.service"; |
+$service = "php$ver-php-fpm.service"; |
11 |
+safe_symlink("root/usr/lib/systemd/system/$service", "root/etc/systemd/system/multi-user.target.wants/$service"); |
+safe_symlink("../$service", "root/usr/lib/systemd/system/multi-user.target.wants/$service"); |
12 |
+} |
+} |
13 |
+$service = "php-fpm.service"; |
+$service = "php-fpm.service"; |
14 |
+safe_symlink("root/usr/lib/systemd/system/$service", "root/etc/systemd/system/multi-user.target.wants/$service"); |
+safe_symlink("../$service", "root/usr/lib//systemd/system/multi-user.target.wants/$service"); |