On failure

Units to activate when this unit enters a failed state. This writes OnFailure=.

Enter space-separated unit names, not commands. For example, alert-admin@%n.service can start a separate templated service and pass this unit's name as %n.

For services with a restart policy, the failure unit is normally activated only after systemd gives up and the service becomes failed.