Planned: a drop-in of the XWiki unit sets Restart=on-failure, and its ExecStopPost= starts the notification when the unit stops for another reason than being asked to. OnFailure= is not used: with Restart=, a unit only enters the failed state once systemd gives up restarting it.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.