Advertisement
sergio_educacionit

firewall.sh unit

Jun 11th, 2024
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. [Unit]
  2. Description=Load iptables rules
  3. Before=network.target
  4.  
  5. [Service]
  6. Type=oneshot
  7. ExecStart=/bin/bash /root/firewall.sh
  8. RemainAfterExit=yes
  9.  
  10. [Install]
  11. WantedBy=multi-user.target
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement