Улучшение перезапуска службы: добавлено использование флага --no-block и увеличено время ожидания

This commit is contained in:
Dmitriy Fofanov
2026-02-25 01:29:18 +03:00
parent 6aeea3156e
commit f3dd4a7d49
+2 -2
View File
@@ -272,8 +272,8 @@ jobs:
sudo systemctl daemon-reload; \
sudo systemctl enable \"${DEPLOY_SERVICE}\" || true; \
echo \">>> Starting service...\"; \
sudo systemctl restart \"${DEPLOY_SERVICE}\" || true; \
sleep 2; \
sudo systemctl restart --no-block \"${DEPLOY_SERVICE}\" || true; \
sleep 3; \
echo \">>> Service status:\"; \
sudo systemctl --no-pager --full status \"${DEPLOY_SERVICE}\" | head -n 30 || true; \
echo \">>> Last journal entries:\"; \