From fa927d4890c44d680b520d8d54fd5485cdff6fb6 Mon Sep 17 00:00:00 2001 From: Antoni Segura Puimedon Date: Fri, 14 Sep 2018 10:44:39 +0200 Subject: [PATCH] cni_ds_init: exec into the main process This will make the right main process for the cni daemon container to be reported. Closes-Bug: 1792539 Change-Id: Ic57fbe20b7bf396ea92e0c2cbcca42814ae2a119 Signed-off-by: Antoni Segura Puimedon --- cni_ds_init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cni_ds_init b/cni_ds_init index 53a3d2358..9f4569815 100755 --- a/cni_ds_init +++ b/cni_ds_init @@ -44,7 +44,7 @@ deploy # Start CNI daemon if required if [ "$CNI_DAEMON" == "True" ]; then - kuryr-daemon --config-file /etc/kuryr/kuryr.conf + exec kuryr-daemon --config-file /etc/kuryr/kuryr.conf else - sleep infinity + exec sleep infinity fi