Merge "Add k8s container cleanup to containerd service"

This commit is contained in:
Zuul 2022-04-14 14:33:05 +00:00 committed by Gerrit Code Review
commit 7aa4700318
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
[Service]
ExecStartPost=/bin/bash -c 'echo $MAINPID > /var/run/containerd.pid;'
ExecStop=-/usr/local/sbin/k8s-container-cleanup
ExecStopPost=/bin/rm -f /var/run/containerd.pid
# pmond monitors containerd service

View File

@ -1,5 +1,6 @@
[Service]
ExecStartPost=/bin/bash -c 'echo $MAINPID > /var/run/containerd.pid;'
ExecStop=-/usr/local/sbin/k8s-container-cleanup
ExecStopPost=/bin/rm -f /var/run/containerd.pid
# pmond monitors containerd service