fix
This commit is contained in:
parent
af3526ede9
commit
1964c8959c
13
firewall.service
Normal file
13
firewall.service
Normal 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
|
Loading…
Reference in New Issue
Block a user