Merge pull request #2429 from riverzhang/patch-6

Fix Docker exits prematurely
This commit is contained in:
RongZhang 2018-03-12 06:16:25 -05:00 committed by GitHub
commit 69a3c33ceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,10 @@ LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
TimeoutStartSec=1min
Restart=on-abnormal
# restart the docker process if it exits prematurely
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s
[Install]
WantedBy=multi-user.target