want to use monit and curl so that curl would hit and api and check if its
up, if it gets a 502 or similar error then restart the systemd service.

How would I do this?

Reply via email to