How can I have systemd execute a script only if a service was stopped via systemctl, but not execute if it crashed by itself?
3
votes
1
answer
2894
views
What I am looking for, is the equivalent of the pre-stop stanza in upstart, for systemd
Asked by Abhay
(31 rep)
Apr 27, 2017, 08:30 PM
Last activity: Sep 10, 2023, 04:06 PM
Last activity: Sep 10, 2023, 04:06 PM