matrix-mcp: copy state-mount comment to hive-matrix-daemon.path (iris #603 suggestion)
This commit is contained in:
parent
61133e71e7
commit
b4bcd3da05
1 changed files with 8 additions and 0 deletions
|
|
@ -839,6 +839,14 @@
|
||||||
# without the trigger the daemon would exit 0 quietly and the
|
# without the trigger the daemon would exit 0 quietly and the
|
||||||
# MCP would have no backend until next restart. With the watcher
|
# MCP would have no backend until next restart. With the watcher
|
||||||
# the daemon comes alive in the same boot cycle as provisioning.
|
# the daemon comes alive in the same boot cycle as provisioning.
|
||||||
|
#
|
||||||
|
# `PathExists=` fires at activation if the file is already there
|
||||||
|
# (covers re-deploys + restarts after first provisioning); the
|
||||||
|
# underlying inotify watch picks up subsequent creates (covers
|
||||||
|
# first-boot race). Manager mounts state at `/state` (legacy
|
||||||
|
# path), sub-agents at `/agents/<label>/state` (per
|
||||||
|
# lifecycle.rs's `notes_mount`); `PathExistsGlob=` matches both
|
||||||
|
# without needing the agent name at module-eval time.
|
||||||
systemd.paths.hive-matrix-daemon = lib.mkIf config.hyperhive.matrix.enable {
|
systemd.paths.hive-matrix-daemon = lib.mkIf config.hyperhive.matrix.enable {
|
||||||
description = "trigger hive-matrix-daemon when matrix-token appears";
|
description = "trigger hive-matrix-daemon when matrix-token appears";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue