Browse code

Merge pull request #7257 from seblu/master

Improve systemd units

Tianon Gravi authored on 2014/07/29 02:51:19
Showing 1 changed files
... ...
@@ -1,14 +1,13 @@
1 1
 [Unit]
2 2
 Description=Docker Application Container Engine
3 3
 Documentation=http://docs.docker.com
4
-After=network.target
4
+After=network.target docker.socket
5 5
 Requires=docker.socket
6 6
 
7 7
 [Service]
8 8
 ExecStart=/usr/bin/docker -d -H fd://
9
-Restart=on-failure
10 9
 LimitNOFILE=1048576
11 10
 LimitNPROC=1048576
12 11
 
13 12
 [Install]
14
-WantedBy=multi-user.target
13
+Also=docker.socket