From 8de41f15cb152df857cc8d5cdcc6ec159add1234 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 28 Oct 2023 18:01:13 +0000 Subject: examples/logrotate: only SIGUSR1 main process There's no need to send SIGUSR1 to auxiliary processes since they don't know what to do with them. --- examples/logrotate.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/logrotate.conf') diff --git a/examples/logrotate.conf b/examples/logrotate.conf index 4ce08843..fad40cfc 100644 --- a/examples/logrotate.conf +++ b/examples/logrotate.conf @@ -18,7 +18,7 @@ # systemd users do not need PID files, # only signal the @1 process since the @2 is short-lived # For systemd users, assuming you use two services - systemctl kill -s SIGUSR1 public-inbox-httpd@1.service - systemctl kill -s SIGUSR1 public-inbox-nntpd@1.service + systemctl kill -s SIGUSR1 --kill-who=main \ + public-inbox-netd@1.service endscript } -- cgit v1.2.3-24-ge0c7