Added install fixes

This commit is contained in:
Alexey Berezhok
2026-04-12 00:50:31 +03:00
parent 4cb55905cc
commit 4b023ea671
3 changed files with 13 additions and 2 deletions

View File

@@ -47,7 +47,11 @@ for service in $service_list; do
if [ "$service" = "iptables" ]; then
$BIN/v-stop-firewall
else
systemctl stop "$service"
if [ "$service" = "nginx" ]; then
systemctl stop nginx-system
else
systemctl stop "$service"
fi
result=$?
if [ "$result" -ne 0 ]; then
$BIN/v-log-action "system" "Error" "System" "Service failed to stop (Name: $service)."