abiosoft/caddy-exec

Long running process (PHP-FPM)?

Richard87 opened this issue · 1 comments

Hi!

Could this module be used to run PHP-FPM in the background?

Can time-limit be set to 0 or -1 for example?

@Richard87

Yes, setting timeout to 0 leaves it running indefinitely. Although it is undocumented at the moment.

Something like this should run indefinitely.

exec ping google.com {
    startup
    timeout 0
}