summarylogtreecommitdiffstats
path: root/ebtables.service
blob: 795675b28ec9acd07ebbd49b67bc6fe74b3dfd04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Ethernet bridge table
Before=network-pre.target
Wants=network-pre.target

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'ebtables-restore < /etc/ebtables.conf'
ExecReload=/bin/sh -c 'ebtables-restore < /etc/ebtables.conf'
ExecStop=/bin/sh -c 'ebtables-restore < /dev/null'
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target