]> git.corax.cc Git - foundry/commit
foundry: Implement process and endpoint monitoring
authorMatthias Kruk <m@m10k.eu>
Sat, 24 Jul 2021 07:09:31 +0000 (16:09 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 24 Jul 2021 07:09:31 +0000 (16:09 +0900)
commitc591f8291b87cc94a57ed25d8793944f2fead338
treea8aae8d879f02a20a8a3c45b50535e2ae6cc2193
parent614cd1131b05bbc6a9546591ef70d4aaf0597baa
foundry: Implement process and endpoint monitoring

To ensure proper operation of the build system, the management script
must make sure that the individual processes of foundry are running,
and that the IPC endpoints that are used for messaging are existing.
This commit adds a process watchdog to foundry.sh which ensures that
all processes are running as configured.
Further, this commit adds code to ensure that IPC endpoints are
existing, and periodically logs the contents of the IPC endpoints'
queues to a file so the messages sent between components of the
buildsystem can be monitored by an administrator.
foundry.sh [changed mode: 0644->0755]