Created
December 24, 2018 09:16
-
-
Save TimoDJatomika/d34140c83c5c52a0e08a45d38056ddb3 to your computer and use it in GitHub Desktop.
Revisions
-
TimoDJatomika created this gist
Dec 24, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ # place the file @ /etc/systemd/system/firewall.service # autostart the firewall with systemctl enable firewall [Unit] Description=Firewall [Service] Type=oneshot ExecStart=/root/firewall.sh start ExecStop=/root/firewall.sh stop RemainAfterExit=yes [Install] WantedBy=multi-user.target