ansible-edda/plays/services/roles/setup/system/files/veth/connect-pod-service@.service

10 lines
211 B
Desktop File

[Unit]
Description=Connect %i to root bridge
After=network.target
OnFailure=status-mail@%n.service
[Service]
Type=oneshot
ExecStartPre=-/usr/sbin/ifdown --ignore-errors veth-%i
ExecStart=/usr/sbin/ifup veth-%i