mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
15 lines
367 B
SYSTEMD
15 lines
367 B
SYSTEMD
|
[Unit]
|
||
|
Description=Packet Filtering Framework
|
||
|
DefaultDependencies=no
|
||
|
After=systemd-sysctl.service
|
||
|
Before=sysinit.target
|
||
|
[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
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|