Browse code

deal with firewalld/docker startup issues

added the firewalld.service symbol in the After line docker
will always start after firewalld, thus eliminating the issue
of firewall blocking all mapped traffic.

Signed-off-by: Ramon Brooker <Ramon.Brooker@imaginecommunications.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Ramon Brooker authored on 2016/08/03 04:21:59
Showing 2 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 [Unit]
2 2
 Description=Docker Application Container Engine
3 3
 Documentation=https://docs.docker.com
4
-After=network.target docker.socket
4
+After=network.target docker.socket firewalld.service
5 5
 Requires=docker.socket
6 6
 
7 7
 [Service]
... ...
@@ -1,7 +1,7 @@
1 1
 [Unit]
2 2
 Description=Docker Application Container Engine
3 3
 Documentation=https://docs.docker.com
4
-After=network.target
4
+After=network.target firewalld.service
5 5
 
6 6
 [Service]
7 7
 Type=notify