debugd: Upgrade default systemd unit to incorporate CNI bin dir preparation

This commit is contained in:
Malte Poll 2022-04-27 10:30:40 +02:00 committed by Malte Poll
parent d5c7bb6078
commit 6f32811029

View File

@ -20,6 +20,9 @@ After=network-online.target
Type=simple
EnvironmentFile=/etc/constellation.env
ExecStartPre=-setenforce Permissive
ExecStartPre=/usr/bin/mkdir -p /opt/cni/bin/
# merge all CNI binaries in writable folder until containerd can use multiple CNI bins: https://github.com/containerd/containerd/issues/6600
ExecStartPre=/bin/sh -c "/usr/bin/cp /usr/libexec/cni/* /opt/cni/bin/"
ExecStart=/opt/coordinator
[Install]
WantedBy=multi-user.target