Hi,

is there a way to NOT run ExecStop, when a service started successfully,
but ends later without being stopped?

My scenario: I have an ExecStop that should only run after

        systemctl stop XXX.service

which means: only when someone administratively shuts down the service.

It must not run, when the service terminates by whatever means (exit 0,
exit 1, signal). In this case, systemd shall just mark the service as
failed and leave it be.

Can this be configured?

Regards,
Robert
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to