Merge pull request #2429 from riverzhang/patch-6
Fix Docker exits prematurely
This commit is contained in:
commit
69a3c33ceb
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue