[systemd-devel] directive for executing a script on service failure

George Karakougioumtzis mad-proffessor at hotmail.com
Fri Feb 6 07:26:35 PST 2015


Hi. Congrats for the near perfect job on systemd! I was searching for a
directive to execute a script upon systemd service failure. I would like
to receive desktop notifications about such  failures. I stumbled upon
OnFailure and FailureAction but these have hardcoded list of actions?
Any hints how to get notified (with notify-send most likely)?


More information about the systemd-devel mailing list