--- rpms/smeserver-php/sme10/smeserver-php-fpm-0.1.1-bz10335-fix3-systemd-units.patch 2020/03/11 04:58:56 1.1 +++ rpms/smeserver-php/sme10/smeserver-php-fpm-0.1.1-bz10335-fix3-systemd-units.patch 2020/06/23 18:48:36 1.2 @@ -8,7 +8,7 @@ diff -Nur smeserver-php-3.0.0.old/create +# systemd units +foreach $ver (qw( 55 56 70 71 72 73 74 )){ +$service = "php$ver-php-fpm.service"; -+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"); +} +$service = "php-fpm.service"; -+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");