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

10 lines
211 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Connect %i to root bridge
After=network.target
OnFailure=status-mail@%n.service
[Service]
Type=oneshot
2022-10-07 09:55:51 +02:00
ExecStartPre=-/usr/sbin/ifdown --ignore-errors veth-%i
ExecStart=/usr/sbin/ifup veth-%i