15 lines
371 B
SYSTEMD
15 lines
371 B
SYSTEMD
|
[Unit]
|
||
|
Description=ARP table
|
||
|
Before=network-pre.target
|
||
|
Wants=network-pre.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/bin/sh -c '/usr/sbin/arptables-restore < /etc/arptables.conf'
|
||
|
ExecReload=/bin/sh -c '/usr/sbin/arptables-restore < /etc/arptables.conf'
|
||
|
ExecStop=/bin/sh -c '/usr/sbin/arptables-restore < /dev/null'
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|