migrate firewall configuration into database

the ports.json is for the moment server specific
This commit is contained in:
Girish Ramakrishnan
2021-05-04 15:21:38 -07:00
parent d8e464d9c7
commit 7de454911e
8 changed files with 79 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ fi
ipset flush cloudron_blocklist
user_firewall_json="/home/yellowtent/boxdata/firewall/blocklist.txt"
user_firewall_json="/home/yellowtent/platformdata/firewall/blocklist.txt"
if [[ -f "${user_firewall_json}" ]]; then
# without the -n block, any last line without a new line won't be read it!