fix(#1052): use systemctl reload nginx instead of systemd-run

This commit is contained in:
damocles 2026-06-02 01:00:48 +02:00
commit 9d11e5b6d6
2 changed files with 12 additions and 43 deletions

View file

@ -421,8 +421,8 @@ in
};
# nginx reload is triggered from the HOST side by hive-c0re
# via `systemd-run --machine=hive-gateway /run/current-system/sw/bin/nginx -s reload`
# (full path required — systemd-run's limited PATH misses /run/current-system/sw/bin/)
# via `systemctl -M hive-gateway reload nginx` — lets systemd
# resolve the nginx binary path, avoiding exit-203 EXEC failures.
# after each agents.conf write. A path unit watching the
# bind-mounted file inside the container was tried first
# (A path unit inside the container was tried but IN_MOVED_TO from an atomic rename on the host