Improve connect-pod-service
This commit is contained in:
parent
192843b22a
commit
d690124d4d
@ -4,4 +4,5 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/sh -c '/usr/sbin/ifdown --ignore-errors veth-%i || /usr/bin/true ; /usr/sbin/ifup veth-%i'
|
||||
ExecStartPre=-/usr/sbin/ifdown --ignore-errors veth-%i
|
||||
ExecStart=/usr/sbin/ifup veth-%i
|
||||
|
Loading…
Reference in New Issue
Block a user