iptables/arptables.service

15 lines
371 B
Desktop File

[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