alignak is a foreground process watchdog that log stdout and stderr in files, and restart the process if needed.
alignak -logdir /some/dir -- /usr/local/bin/mattdaemon --opt1 -zkxf foo bar
- Systemd notify
- Systemd watchdog
- Journald alerts
- SHA2/512 signature logged of the previous logfiles in case of restart
- custom location of logfiles with -logdir option (default : /tmp )
- Restart process in case of binary upgrade with -upgrade
- SSKG for message signing
2-Clause BSD
- write comments
- clean some ugly stuff
- add tests