Skip to content

fix(gateway): remove recursive ExecStop from both systemd units#1530

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-81c07511
Mar 16, 2026
Merged

fix(gateway): remove recursive ExecStop from both systemd units#1530
teknium1 merged 2 commits into
mainfrom
hermes/hermes-81c07511

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvage of PR #1448 by @EmpireOperating — cherry-picked onto current main with authorship preserved, extended to cover the system unit too.

Problem

The user systemd unit had ExecStop=hermes gateway stop, which calls systemctl --user stop hermes-gateway on the very unit being stopped — recursive and timeout-prone.

Fix

920 gateway tests + 8 service tests pass.

Ninja and others added 2 commits March 16, 2026 05:01
The cherry-picked PR #1448 fix only covered the user systemd unit.
The system unit had the same TimeoutStopSec=15 and could benefit
from the same 60s timeout for clean shutdown. Also adds a regression
test for the system unit.
@teknium1 teknium1 merged commit 002c459 into main Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant