fix: reset-failed before systemd restart to clear rate limit
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 34s
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 34s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
932bf362df
commit
cf668c2bf4
@ -87,6 +87,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Restart API service
|
- name: Restart API service
|
||||||
run: |
|
run: |
|
||||||
|
sudo systemctl reset-failed zhixi-api 2>/dev/null || true
|
||||||
sudo systemctl restart zhixi-api
|
sudo systemctl restart zhixi-api
|
||||||
sleep 5
|
sleep 5
|
||||||
if sudo systemctl is-active zhixi-api; then
|
if sudo systemctl is-active zhixi-api; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user