commit d1f87a56e0b1b3e95a744a07574a7496d7d5d55c parent 8c39b47caefcbcb0d6890c31cdd1ce90144744ac Author: Daniel Barlow <dan@telent.net> Date: Sun, 9 Mar 2025 20:34:29 +0000 secrets/subscriber: use correct numbers for signals to s6-svc Diffstat:
| M | modules/secrets/subscriber.nix | | | 6 | +++--- |
| M | pkgs/watch-outputs/watch-outputs.fnl | | | 2 | +- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/secrets/subscriber.nix b/modules/secrets/subscriber.nix @@ -28,9 +28,9 @@ let "quit" = "-s 3"; "kill" = "-s 9"; "term" = "-s 15"; - "winch" = "-s 28"; - "usr1" = "-s 10"; - "usr2" = "-s 12"; + "winch" = "-s 20"; + "usr1" = "-s usr1"; + "usr2" = "-s usr2"; } .${action}; diff --git a/pkgs/watch-outputs/watch-outputs.fnl b/pkgs/watch-outputs/watch-outputs.fnl @@ -58,7 +58,7 @@ (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)) - [:signal n] (system (%% "s6-svc -s %d /run/service/%s" n service)))) + [:signal n] (system (%% "s6-svc -s %q /run/service/%s" n service)))) (local POLLIN 0x0001) (local POLLHUP 0x0010)