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>
This commit is contained in:
Isaac Hermida 2026-04-17 10:00:53 +02:00
parent 61dc4c88cf
commit d743784281
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[Unit]
Description=Stop managed containers during system shutdown
DefaultDependencies=no
Before=shutdown.target reboot.target halt.target poweroff.target kexec.target
Before=cccsd.service shutdown.target reboot.target halt.target poweroff.target kexec.target
[Service]
Type=oneshot

View File

@ -1,7 +1,7 @@
[Unit]
Description=Digi ConnectCore Container Manager daemon
After=network.target
Wants=network.target
After=network.target cccsd.service
Wants=network.target cccsd.service
[Service]
Type=simple