mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-04 06:43:00 +02:00
When updating a container configuration we need to rerun the setup stage of the container. However, a run/task in Finit only runs once for each runlevel, meaning changes at runtime of a container was broken. This is a refactor of the container script to allow it to also run as a pre:script in the Finit setup stage of a sysv/service. Also included is a fix to the timeout/retry handling in case the container setup fails. We must call `read -t 60` *before* calling `ip monitor`, otherwise it will not be called until `ip monitor` returns. This patch requires Finit v4.9, or later. Fixes #930 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>