Ver código fonte

Start before network

Edvinas Valatka 9 anos atrás
pai
commit
53d516651f
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      e-router.service

+ 2 - 1
e-router.service

@@ -1,7 +1,8 @@
 [Unit]
 Description=e-router script
-Requires=iptables.service
+Wants=iptables.service network-pre.target
 After=iptables.service
+Before=network-pre.target
 
 [Service]
 Type=oneshot