5d13b4c911
override docker service so systemd: 1. to create/remove /var/run/dockerd.pid file at service start/stop. 2. not to restart automatically on exit or failure deploy docker.conf for pmond to monitor docker service Story: 2002843 Task: 29391 Change-Id: I3595d0d4f97d90e4119fc1455bcf164aebc5d6ec Signed-off-by: Bin Qian <bin.qian@windriver.com>
16 lines
522 B
Plaintext
16 lines
522 B
Plaintext
;
|
|
; Copyright (c) 2019 Wind River Systems, Inc.
|
|
;
|
|
; SPDX-License-Identifier: Apache-2.0
|
|
;
|
|
[process]
|
|
process = dockerd
|
|
service = docker
|
|
pidfile = /var/run/dockerd.pid
|
|
style = lsb ; lsb
|
|
severity = critical ; minor, major, critical
|
|
restarts = 3 ; restarts before error assertion
|
|
startuptime = 5 ; seconds to wait after process start
|
|
interval = 5 ; number of seconds to wait between restarts
|
|
debounce = 20 ; number of seconds to wait before degrade clear
|