From d1f87a56e0b1b3e95a744a07574a7496d7d5d55c Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 9 Mar 2025 20:34:29 +0000 Subject: [PATCH] secrets/subscriber: use correct numbers for signals to s6-svc --- modules/secrets/subscriber.nix | 6 +++--- 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 index 1839c33..3605243 100644 --- 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 index 930ca86..597f1ae 100644 --- 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)