|
|
|
|
|
by Cyph0n
524 days ago
|
|
I think about them as “on start” and “on stop”. It is important to keep in mind that systemd is tailored towards daemons. So if your service just runs a command that eventually exits, you need to explicitly tell systemd to treat it differently than a daemon. Edit: As others noted, you’re probably looking for oneshot + RemainAfterExit. |
|