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
|
Before=sysinit.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/sbin/iptables-restore < /etc/iptables/iptables.rules
|
ExecStart=/sbin/iptables-restore /etc/iptables/iptables.rules
|
||||||
ExecReload=/sbin/iptables-restore < /etc/iptables/iptables.rules
|
ExecReload=/sbin/iptables-restore /etc/iptables/iptables.rules
|
||||||
ExecStop=/etc/iptables/flush-iptables.sh
|
ExecStop=/etc/iptables/flush-iptables.sh
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -397,8 +397,8 @@ After=systemd-sysctl.service
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/sbin/iptables-restore < /etc/iptables/iptables.rules
|
ExecStart=/sbin/iptables-restore /etc/iptables/iptables.rules
|
||||||
ExecReload=/sbin/iptables-restore < /etc/iptables/iptables.rules
|
ExecReload=/sbin/iptables-restore /etc/iptables/iptables.rules
|
||||||
ExecStop=/etc/iptables/flush-iptables.sh
|
ExecStop=/etc/iptables/flush-iptables.sh
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue