config-files/containerd-config/files/containerd-stx-override.conf
Lin, Shuicheng 3ada8ea05c Configure containerd to be monitored by pmon
Conf file parameter's value follow docker setting.

Closes-Bug: #1869811

Change-Id: Ib32d80d688ffba0e51a4e48bd63564282ac535b8
Signed-off-by: Lin, Shuicheng <shuicheng.lin@intel.com>
2020-04-20 22:32:18 +08:00

7 lines
176 B
Plaintext

[Service]
ExecStartPost=/bin/bash -c 'echo $MAINPID > /var/run/containerd.pid;'
ExecStopPost=/bin/rm -f /var/run/containerd.pid
# pmond monitors containerd service
Restart=no