Add stop:'script [args]' support for service/sysv stanzas

Fixes #412

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-07-06 13:20:46 +02:00
1 parent bb841383b8
commit 14336bd407
2 files changed
+32 -17

No files matched your search

+3
View File
@@ -215,6 +215,9 @@ typedef struct svc {
/* When set, used instead of SIGHUP or stop-start */
char reload_script[MAX_CMD_LEN];
/* When set, used instead of SIGTERM or sysv 'stop' */
char stop_script[MAX_CMD_LEN];
/*
* Used to forcefully kill services that won't shutdown on
* termination and to delay restarts of crashing services.