Hacker News new | past | comments | ask | show | jobs | submit login

You can trigger units explicitly on failure with OnFailure=someservice as well (and since you can parameterize service names, you can have e.g. a single failure@.service that'll do whatever you prefer once a service fails.

OnFailure makes it easy to implement more complex restart or notification logic.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: