This commit is contained in:
Your Name 2024-07-23 15:17:57 -06:00
parent af3526ede9
commit 1964c8959c

13
firewall.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=iptables firewall service
After=network.target
[Service]
Type=oneshot
ExecStart=bash /opt/firewall/firewall2.sh start
ExecStop=bash /opt/firewall/firewall2.sh stop
RemainAfterExit=true
StandardOutput=journal
[Install]
WantedBy=multi-user.target