Merge pull request #7257 from seblu/master
Improve systemd units Upstream-commit: 380153f0d7e2c3a285ebf2f43306d99aa6c8dd9a Component: engine
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
[Unit]
|
||||
Description=Docker Application Container Engine
|
||||
Documentation=http://docs.docker.com
|
||||
After=network.target
|
||||
After=network.target docker.socket
|
||||
Requires=docker.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/docker -d -H fd://
|
||||
Restart=on-failure
|
||||
LimitNOFILE=1048576
|
||||
LimitNPROC=1048576
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Also=docker.socket
|
||||
|
||||
Reference in New Issue
Block a user