secrets subscriber: make restart-all work

This commit is contained in:
Daniel Barlow
2025-03-31 23:01:48 +01:00
parent 46ed8f0199
commit d9723aeb87
2 changed files with 3 additions and 2 deletions

View File

@@ -54,7 +54,7 @@
(fn do-action [action service]
(case action
:restart (system (%% "s6-svc -r /run/service/%s" service))
:restart-all (system (%% "s6-rc -b -d %q; s6-rc-up-tree %q" service service))
:restart-all (system (%% "s6-rc -b -d change %q; s6-rc-up-tree %q" service service))
[:signal n] (system (%% "s6-svc -s %q /run/service/%s" n service))))
(local POLLIN 0x0001)