From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7361D1F487 for ; Sat, 28 Oct 2023 18:01:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1698516073; bh=a6ZzCL/biBr9A2Xta99Cg5fPKPDnYh6P9KK/s0UOcJ4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=puBY4lhy0hqZuzCBkRJDLd/AGK7QZuda4DkRmLzeby1PNqQIDt1sSUH+m6+OMZtjj BJsXeWfjtHaIlWwO6LMl4MTKmsxjqBXiHkoXoaAaoNrs5svHlBRtNkCqTPKOTKT2Ml szBs3COFM3soA4RV7xUYpOmOWMzNkFuFu4GfnF18= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/2] examples/logrotate: only SIGUSR1 main process Date: Sat, 28 Oct 2023 18:01:13 +0000 Message-ID: <20231028180113.6922-3-e@80x24.org> In-Reply-To: <20231028180113.6922-1-e@80x24.org> References: <20231028180113.6922-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(-) 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 }