Fix iptables.service
This commit is contained in:
parent
23222fd59f
commit
8f28593112
1 changed files with 4 additions and 4 deletions
|
@ -363,8 +363,8 @@ 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
|
||||
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]
|
||||
|
@ -397,8 +397,8 @@ 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
|
||||
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]
|
||||
|
|
Loading…
Reference in a new issue