File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ command_background="yes"
1010capabilities=" ^cap_net_bind_service"
1111pidfile=" /run/frankenphp/frankenphp.pid"
1212start_stop_daemon_args=" --chdir /var/lib/frankenphp"
13+ respawn_delay=3
14+ respawn_max=10
1315
1416depend () {
1517 need net
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ ExecStartPre=/usr/bin/frankenphp validate --config /etc/frankenphp/Caddyfile
1212ExecStart =/usr/bin/frankenphp run --environ --config /etc/frankenphp/Caddyfile
1313ExecReload =/usr/bin/frankenphp reload --config /etc/frankenphp/Caddyfile
1414WorkingDirectory =/var/lib/frankenphp
15+ Restart =on-failure
16+ RestartSec =3s
1517TimeoutStopSec =5s
1618LimitNOFILE =1048576
1719LimitNPROC =512
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ ExecStartPre=/usr/bin/frankenphp validate --config /etc/frankenphp/Caddyfile
1212ExecStart =/usr/bin/frankenphp run --environ --config /etc/frankenphp/Caddyfile
1313ExecReload =/usr/bin/frankenphp reload --config /etc/frankenphp/Caddyfile
1414WorkingDirectory =/var/lib/frankenphp
15+ Restart =on-failure
16+ RestartSec =3s
1517TimeoutStopSec =5s
1618LimitNOFILE =1048576
1719LimitNPROC =512
You can’t perform that action at this time.
0 commit comments