Replies: 1 comment 2 replies
-
The What you need is two services, one which depends on the other. Eg (untested): Service "pizauth-daemon", almost as you wrote above:
I used Service "pizauth"
Now when you start "pizauth", it first starts "pizauth-daemon" (which runs When you stop "pizauth", it runs |
Beta Was this translation helpful? Give feedback.
-
Perhaps it is already possible, but I am struggling to implement a user service that runs a daemon like so:
where I would like to run commands
after it starts and before it stops, respectively.
My attempt does not seem to work:
Do you know a way to fix this? Or would it make sense to implement this as a new feature, akin to systemd
ExecStartPost
?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions