diff options
| author | Ting Yu <tyu@cisco.com> | 2018-11-29 12:14:01 -0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-12-04 18:15:11 -0500 |
| commit | 5043d6263af3daa965e27bb027cdb5db00d0611b (patch) | |
| tree | d891ad6b0ca95d221565d13628fffc55e3f5ec60 /recipes-containers/docker/files/docker.init | |
| parent | 47dd312669562bc9467a98159105bb636f9652d3 (diff) | |
| download | meta-virtualization-5043d6263af3daa965e27bb027cdb5db00d0611b.tar.gz | |
Add pidfile flag to store dockerd PID in /var/run/dockerd.pid
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/docker/files/docker.init')
| -rw-r--r-- | recipes-containers/docker/files/docker.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init index 0aea8d01..b37ddc95 100644 --- a/recipes-containers/docker/files/docker.init +++ b/recipes-containers/docker/files/docker.init | |||
| @@ -28,7 +28,7 @@ exec="/usr/bin/$prog" | |||
| 28 | pidfile="/var/run/$prog.pid" | 28 | pidfile="/var/run/$prog.pid" |
| 29 | lockfile="/var/lock/subsys/$prog" | 29 | lockfile="/var/lock/subsys/$prog" |
| 30 | logfile="/var/log/$prog" | 30 | logfile="/var/log/$prog" |
| 31 | other_args="--registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs" | 31 | other_args="--pidfile $pidfile --registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 --raw-logs" |
| 32 | 32 | ||
| 33 | [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog | 33 | [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog |
| 34 | 34 | ||
