void-packages/srcpkgs/iptables/files/iptables.service

12 lines
231 B
Desktop File

[Unit]
Description=Packet Filtering Framework
[Service]
Type=oneshot
ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
ExecStop=/usr/libexec/iptables-flush
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target