15 строки
295 B
SYSTEMD
15 строки
295 B
SYSTEMD
[Unit]
|
|
Description=Load Iptables Rules
|
|
ConditionFileIsExecutable=/etc/systemd/scripts/iptables
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/etc/systemd/scripts/iptables
|
|
ExecStop=/etc/systemd/scripts/iptables.stop
|
|
TimeoutSec=0
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|