fix(#1052): use full nginx path in systemd-run reload (exit 203 = EXEC)

This commit is contained in:
damocles 2026-06-02 00:52:56 +02:00
commit 637b170cc5
2 changed files with 13 additions and 6 deletions

View file

@ -421,7 +421,8 @@ in
};
# nginx reload is triggered from the HOST side by hive-c0re
# via `systemd-run --machine=hive-gateway nginx -s reload`
# 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/)
# 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