We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4898744 commit 91fccdcCopy full SHA for 91fccdc
1 file changed
pkg/wsl/manager.go
@@ -738,6 +738,16 @@ default=admin
738
options = "metadata,umask=0022"
739
WSLCONF
740
741
+# Disable systemd rate limiting for PHP-FPM to prevent installation failures.
742
+# When multiple PHP extensions are installed, each triggers a php-fpm restart.
743
+# Without this, systemd's default rate limit (5 starts per 10s) causes failures
744
+# with "Start request repeated too quickly" during first provision.
745
+mkdir -p /etc/systemd/system/php8.3-fpm.service.d
746
+cat > /etc/systemd/system/php8.3-fpm.service.d/override.conf << 'SYSTEMD_OVERRIDE'
747
+[Unit]
748
+StartLimitIntervalSec=0
749
+SYSTEMD_OVERRIDE
750
+
751
# Create .ssh directory for admin user (needed by Ansible known_hosts module).
752
mkdir -p /home/admin/.ssh
753
chmod 700 /home/admin/.ssh
0 commit comments