Added firewall init systemd script
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
# copy to /etc/systemd/system/
|
||||||
|
[Unit]
|
||||||
|
Description=Firewall Init
|
||||||
|
After=network.target iptables.service firewalld.service fail2ban.service
|
||||||
|
Before=docker.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/etc/network/firewall/init.sh
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user