mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 03:44:37 +08:00
13 lines
308 B
SYSTEMD
13 lines
308 B
SYSTEMD
|
[Unit]
|
||
|
Description=Packet Filtering Framework
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/iptables-restore /etc/iptables/iptables.rules
|
||
|
ExecReload=/usr/bin/iptables-restore /etc/iptables/iptables.rules
|
||
|
ExecStop=/usr/lib/systemd/scripts/iptables-flush
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|