Commit Graph

4 Commits

Author SHA1 Message Date
Isaac Hermida d743784281 cc-containerd: order service around CCCS
As cc-containerd uses DRM to publish metrics, start the service after
cccs (this is optional, as the container will retry it) and stop our
service before cccsd (to do our best to try to upload the STOP status
to DRM)

https://onedigi.atlassian.net/browse/DEL-10035

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-22 09:59:39 +02:00
Isaac Hermida 61dc4c88cf cc-container-mng: install config at /etc
There is no need to have a dedicated folder, as we only use a configuration
file. Other data is stored in a different path.

https://onedigi.atlassian.net/browse/DEL-10035

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-22 09:59:39 +02:00
Isaac Hermida 0f54b5a346 meta-digi-containers: keep containers running when cc-containerd stops
Set KillMode=process in the systemd unit so 'systemctl stop
cc-containerd' only terminates the daemon itself.

Without this, systemd uses the default control-group kill mode and
can terminate container processes that share the service cgroup,
which changes container runtime state when the service is stopped.

https://onedigi.atlassian.net/browse/DEL-9963
https://onedigi.atlassian.net/browse/DEL-10005

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:42:03 +01:00
Isaac Hermida d721721567 meta-digi-containers: add cc-container-mng daemon recipe
Add the cc-container-mng recipe and systemd service.

https://onedigi.atlassian.net/browse/DEL-10005

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:32:18 +01:00