New to systemd here - essentially I have 3 different scripts:
deactivate.sh. I want to use a systemd service and timer in order to do the following:
- When the service first starts, run
- Using the timer, I want to continuously run
- The service is stopped, in that case run
I've tried experimenting with variations of
RemainAfterExit, etc. but to no avail. Can someone point me in the right direction?