From: Eric Wong Date: Sat, 28 Oct 2023 18:01:13 +0000 (+0000) Subject: examples/logrotate: only SIGUSR1 main process X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8de41f15cb152df857cc8d5cdcc6ec159add1234;p=thirdparty%2Fpublic-inbox.git 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. --- diff --git a/examples/logrotate.conf b/examples/logrotate.conf index 4ce088434..fad40cfcc 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 }