Are background processes automatically stopped when caddy quits?

If I have a directive like this:

on startup do_something &

Will this process be terminated when caddy is terminated? Or is there a way to do this?

It won’t close by itself.

You can use on shutdown to do so.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.