I have a service on a Ubuntu 16.04 which I use systemctl start, stop,
restart and status to control.

One time the systemctl status returned active, but the application "behind"
the service responded http code different from 200.

So I would like to restart the service when the http code is not 200. Can
some one let me know is there a way to achieve the same via systemd?
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to