Improve connect-pod-service

This commit is contained in:
Wojciech Kozlowski 2022-10-07 09:55:51 +02:00
parent 192843b22a
commit d690124d4d

View File

@ -4,4 +4,5 @@ After=network.target
[Service] [Service]
Type=oneshot 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