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

Systemd provides a hook (ExecStartPre [1]) for running test commands before starting a service, e.g. checking nginx configuration before starting. However, I also prefer the flexibility of shell scripts over something like systemd's INI service definition format.

[1] http://www.freedesktop.org/software/systemd/man/systemd.serv...




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

Search: