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:
parent
61dc4c88cf
commit
d743784281
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue