2
votes
1answer
332 views

How can I ensure a script gets executed after a service is stopped but before another service is stopped?

I should run a specific script whenever a server is shutting down, ensuring that some services are always stopped, while some other, but required services are still up. In practice: I should run a ...