From 146716ad9cfe4113ddd45ef0fec9c0883c3882ab Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 15 Nov 2023 12:03:35 +0100 Subject: [PATCH] Set more restart settings --- templates/systemd/php-fpm@.service.j2 | 2 ++ 1 file changed, 2 insertions(+) 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