Reload active firewall gate without restarting required Docker and Tailscale services
This commit is contained in:
@@ -123,7 +123,8 @@ UNIT
|
|||||||
done
|
done
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable platform-firewall.service >/dev/null
|
systemctl enable platform-firewall.service >/dev/null
|
||||||
systemctl restart platform-firewall.service
|
# Reload an active gate: restarting a Required unit stops Docker/Tailscale.
|
||||||
|
systemctl reload-or-restart platform-firewall.service
|
||||||
}
|
}
|
||||||
check_ssh_transaction() {
|
check_ssh_transaction() {
|
||||||
local transaction=$1 digest=$2 ssh_state=${3:-/var/lib/platform-bootstrap/ssh}
|
local transaction=$1 digest=$2 ssh_state=${3:-/var/lib/platform-bootstrap/ssh}
|
||||||
|
|||||||
Reference in New Issue
Block a user