mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 07:40:05 +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
|
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 New Issue
Block a user