summaryrefslogtreecommitdiff
path: root/src/umbrella.h
diff options
context:
space:
mode:
authorauric <auric@japegames.com>2026-02-21 15:11:51 -0600
committerauric <auric@japegames.com>2026-02-21 15:11:51 -0600
commit52f92ea70f74008d82d21fef5085fb7380314ea1 (patch)
tree357ec1f0ec75779fc945d3b7460e976fe677ae31 /src/umbrella.h
parentaf012ffe7594350021741c62bd1205b65dfec07f (diff)
parentfc10d8a0818bb87001a64a72552ed28fe60931ee (diff)
Merge pull request #2 from ihateamongus/claude/trusting-dirac
State probing overhaul, A2S queries, tail/broadcast, bot audit log
Diffstat (limited to 'src/umbrella.h')
-rw-r--r--src/umbrella.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/umbrella.h b/src/umbrella.h
index e44d626..2e9d440 100644
--- a/src/umbrella.h
+++ b/src/umbrella.h
@@ -45,6 +45,7 @@ typedef enum {
STATE_STARTING = 1,
STATE_RUNNING = 2,
STATE_CRASHED = 3,
+ STATE_STOPPING = 4,
} ProcessState;
/* ── Action: a named script ──────────────────────────────────────────────── */
@@ -82,6 +83,7 @@ typedef struct {
char name[MAX_NAME];
char display[MAX_DISPLAY];
char service[MAX_NAME]; /* systemd unit name, informational */
+ char broadcast_cmd[128]; /* command template for !broadcast, e.g. "say {msg}" */
ConsoleConfig console;
HealthConfig health;
char log_paths[4][MAX_PATH];