iptables/ebtables.service

15 lines
378 B
Desktop File

[Unit]
Description=Ethernet bridge table
Before=network-pre.target
Wants=network-pre.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/usr/sbin/ebtables-restore < /etc/ebtables.conf'
ExecReload=/bin/sh -c '/usr/sbin/ebtables-restore < /etc/ebtables.conf'
ExecStop=/bin/sh -c '/usr/sbin/ebtables-restore < /dev/null'
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target