removing open ports when sibling project removed

This commit is contained in:
David Young
2026-10-23 08:47:27 -06:00
parent 4ffecf6f7a
commit 76805291dc
7 changed files with 163 additions and 38 deletions
+7 -2
View File
@@ -1,5 +1,7 @@
# Allowed through firewalld (default zone) by install and update.
# Removing an entry here does not close it; use firewall-cmd for that.
# Allowed through firewalld (default zone) by install, update and sibling.
# Sibling projects can have a firewall.conf in this same format at the top of
# their repo. Removing an entry closes it on the next update, unless another
# firewall.conf still lists it or it was open before MiniServer opened it.
# firewalld service names (see `firewall-cmd --get-services`)
FIREWALL_SERVICES=(
@@ -12,4 +14,7 @@ FIREWALL_SERVICES=(
# Extra ports, e.g. for pm2 apps: "3000/tcp"
# Docker containers' published ports don't need to be listed here.
FIREWALL_PORTS=(
3000/tcp
8080/tcp
8081/tcp
)