diff --git a/templates/systemd/php-fpm@.service.j2 b/templates/systemd/php-fpm@.service.j2 index d080bb5..8222957 100644 --- a/templates/systemd/php-fpm@.service.j2 +++ b/templates/systemd/php-fpm@.service.j2 @@ -23,6 +23,8 @@ ExecReload=/bin/kill -USR2 $MAINPID KillMode=process Restart=on-failure RestartSec=30s +StartLimitInterval=10 +StartLimitBurst=10 # Hardening # https://github.com/php/php-src/blob/master/sapi/fpm/php-fpm.service.in