Merge pull request #7257 from seblu/master

Improve systemd units
This commit is contained in:
Tianon Gravi 2014-07-28 11:51:19 -06:00
commit 380153f0d7

View file

@ -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