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

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

[Install]
WantedBy=multi-user.target