1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/installers/iptables.service

17 lines
369 B
SYSTEMD
Raw Normal View History

2020-03-20 08:23:05 +01:00
[Unit]
Description=Packet Filtering Framework
DefaultDependencies=no
After=systemd-sysctl.service
Before=sysinit.target
2020-03-20 13:10:03 +01:00
2020-03-20 08:23:05 +01:00
[Service]
Type=oneshot
ExecStart=/sbin/iptables-restore /etc/iptables/iptables.rules
ExecReload=/sbin/iptables-restore /etc/iptables/iptables.rules
ExecStop=/etc/iptables/flush-iptables.sh
RemainAfterExit=yes
2020-03-20 13:10:03 +01:00
2020-03-20 08:23:05 +01:00
[Install]
WantedBy=multi-user.target