iptables/arptables.service

15 lines
371 B
SYSTEMD
Raw Normal View History

[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