mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-07 15:20:04 +01:00
Fix iptables.service
This commit is contained in:
parent
23222fd59f
commit
8f28593112
@ -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 New Issue
Block a user