From nobody Fri Sep 22 12:44:06 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RsX5L4N13z4tpsj; Fri, 22 Sep 2023 12:44:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RsX5L3cfqz3JwX; Fri, 22 Sep 2023 12:44:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695386646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tKdpjcRFYtCT5VOPD3BzSvS3TK1WfBcP1MONLD4toaI=; b=VkIyy5wHhfBKGJXDNioUrqjwn5onZFkKdzI7hQWXWZV36JrAqCRtAEmTcqPKZDmrl39jal aBYp8rwABeU6U3nY1j9kw3MXgtwiF95SvG3r5mVmePGj2tn+T0eh4TVzPcZLbPE7xuJlVJ +Or38HI0B0oEuV0uF1vHAyHDqZMTPqvNCkT1q6NEJvu1T+Fdekp6Z9Z/LOhv4+zKkIi7zf +MkjRKdzv9wWrgI2K5yec4TRQI7OE4iUkgQg6HJacn0AiB062Rs7hZ99b+US6bYCdQyZQW UW3+oLEffGhKAHmgdFjYoCoWqlmwQ9pJ9Tsq4v7EatL2Oioh52JwcyHA2qjHNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695386646; a=rsa-sha256; cv=none; b=t90cBJ7FpuIIbeIqcQWYNF+GvIRkk0ojoX+4LyZUxLZkXenuOJ5GBD8RZ/lOb42E2vHv1D NnVDS/+Mca1rew8cvW7iPmBzF+aKx5dqUTc6a45FVCUJsrhr6QdCL58oq5hVnx8iSB1C8T v46jUsO5ghtp+fONrwiuQzSOV4eWq+inYQWB+8kGUIWLiz3SBb5xYaGdV+hN6Ny+NB3aZt ccJ6anY8+nmUkHSz+wnslygkp35KDOciortw6MqE4d/sjiAyW6IW9gJ6EzR9Oi/r/j4i2a UwxkevxhfnrDX/Mx0yj3MVipkAse8Np0BitQFs6DDIptf8D0OFHw37R5LUqt/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695386646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tKdpjcRFYtCT5VOPD3BzSvS3TK1WfBcP1MONLD4toaI=; b=P2iQ/ayE0f0M/0a6Kfif0m8Eev3FqID4t5FcoblonIYSnIRpL6C8Z44Au3SNyKdS2lEkIh Cr9eu45EDzsJSP8ZDaoF9lVu6ksqpumlUTyMRzEagWw4tLF392DLcrme51YyPAHz703xPh V1UGby5cLmKzmipSII8stliPii4knBXUaAECMRMx+lvrGdEmwGftpStUcf/ZQp8hXwkaJJ DbK+avkFARoHESiVgsemPAWF2Eurof/gYuj5V+OYvjp1nr2NUNhpF82GmgZGA98QmfxKKr WI4hHvhYYpbDbVo8qE+V19zUrlz4P179XVe/63vSSJufEXdt/l0CpoPp6CkW+Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RsX5L2Vk4z70M; Fri, 22 Sep 2023 12:44:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38MCi6pi030638; Fri, 22 Sep 2023 12:44:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MCi66L030635; Fri, 22 Sep 2023 12:44:06 GMT (envelope-from git) Date: Fri, 22 Sep 2023 12:44:06 GMT Message-Id: <202309221244.38MCi66L030635@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: d940c39146e0 - stable/14 - daemon.8: Use Dv for signal names List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: d940c39146e0b064c9f4f6f4d5fd1d57a92f0e04 Auto-Submitted: auto-generated The branch stable/14 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=d940c39146e0b064c9f4f6f4d5fd1d57a92f0e04 commit d940c39146e0b064c9f4f6f4d5fd1d57a92f0e04 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 18:28:27 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-22 12:41:28 +0000 daemon.8: Use Dv for signal names MFC after: 3 days (cherry picked from commit 735637f7d68777d0befa4b9a9291f3fc02b5ed00) --- usr.sbin/daemon/daemon.8 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8 index 4c7064fc9b67..35b877039e4a 100644 --- a/usr.sbin/daemon/daemon.8 +++ b/usr.sbin/daemon/daemon.8 @@ -69,7 +69,9 @@ specified by the other options. .It Fl H , Fl -sighup Close .Pa output_file -and re-open it when signal SIGHUP is received, for interoperability with +and re-open it when signal +.Dv SIGHUP +is received, for interoperability with .Xr newsyslog 1 and similar log rotation / archival mechanisms. If .Fl -output-file @@ -89,7 +91,8 @@ and .Fl -sighup the absolute path needs to be provided to ensure .Nm -can re-open the file after a SIGHUP. +can re-open the file after a +.Dv SIGHUP . .It Fl m , Fl -output-mask Ar output_mask Redirect output from the child process stdout (1), stderr (2), or both (3). This value specifies what is sent to syslog and the log file. @@ -177,7 +180,9 @@ waits until it terminates to keep the pid file(s) locked and removes them after the process exits or restarts the program. In this case if the monitoring .Nm -receives software termination signal (SIGTERM) it forwards it to the +receives software termination signal +.Pq Dv SIGTERM +it forwards it to the spawned process. Normally it will cause the child to exit, remove the pidfile(s) and then terminate.