From nobody Mon Sep 18 21:59:41 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 4RqJcG3tfvz4tpRR; Mon, 18 Sep 2023 21:59:42 +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 4RqJcG1D38z4d0L; Mon, 18 Sep 2023 21:59:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695074382; 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=9K9ZdRgIcFcvRpu5eh0VEIN27RzCLBXIsT2Lx4K/eag=; b=GmogkDlyAc2VQDLalvHpLe8DeCOJyWjsvs8LQRJzmhw0b14BD0EcEo2w16fHJOjISnF3/E yPtJ4qth9EPbnWysV2jh4UrepxsoZJWw2gQNhUkmSulKpDbslXLNWy/OcBGpgrM4n+Ahy4 APWRckj1nxqtO2RZLqBUEqi/KdjIwYKJZL07Pr78EY0GRszFw7KYO8oRol1Ep1ECI0O7GU PXwagUzOYZ8UeDzXh4bUrXmiIXKiKd+j/aEwj9x9/rKlq6Sc3HZUKSRpVLs38NGkZr8Jmg riHDkkl11uTeaOedvsOilGaJJ25lCJVE4ZE8Mu0Dz27n8OUnSm8pc+jf7mOarg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695074382; a=rsa-sha256; cv=none; b=qBrCGaLZoVmmlUt4y01/4bcSZjrliVM9V0Tp7Dke042xcqHMzI8dATB4LaZnHgcbIir8UM g+4JwsQtyyd5glibVpV735QkfvDnYKaKntr9Nl15s/5qXEuhrUNm6Dg5OmD2tCrijWwbRh drfRaWyudw3fPWDms15/Oo7G4kidM4wszEtS/l4KgXmpT6OVH7x5047PyXq9jV7gNnCnb8 fyCANvw6iojS8dy2/sVj6lTLfPudkGA/5X6jphpA7f0cO+cr9a2BcnwNnr/ofx5t2Vj0Tz CxTPZIbmhXEjZAtHYWYNtNy9AMd0potF6T1gJS4RxHXjUPay51Ofr3Q0CzBZQg== 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=1695074382; 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=9K9ZdRgIcFcvRpu5eh0VEIN27RzCLBXIsT2Lx4K/eag=; b=CPaIp5dSKnHr2IK9mBjdafeiqdUNO0B3pWg3mLEc0Z4vmGmn7JQzpGhRdMfjFuzGWHpapw xxSK7/XkLzVoeyFmK4JL9D5/0ht1EHH6vN7UYOgIe52fai5Co5R4soWIxNUU7ojgHWuNsk iXdp4jI0rmLkKj7KkexA0YiezlHwHMdAU7mIdW+2Ks4edpSTDZmUyMMwmnSwMGsOWIQq7W 6A/Gu6HHY9QDcN2cb5zWD8+sMZcnlP9a+A9WqB0wNQeFLS5TZB5iGPgIdjBNfK08CGwtWs EPbO2JX2CWLefsMzqweXnHVpUmzvgEwvI+a3jA+fghz3Q7oDZlO0n7sEByY2DQ== 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 4RqJcF6cZKznYL; Mon, 18 Sep 2023 21:59:41 +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 38ILxfVe045227; Mon, 18 Sep 2023 21:59:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38ILxfjD045224; Mon, 18 Sep 2023 21:59:41 GMT (envelope-from git) Date: Mon, 18 Sep 2023 21:59:41 GMT Message-Id: <202309182159.38ILxfjD045224@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 735637f7d687 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 735637f7d68777d0befa4b9a9291f3fc02b5ed00 Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=735637f7d68777d0befa4b9a9291f3fc02b5ed00 commit 735637f7d68777d0befa4b9a9291f3fc02b5ed00 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 18:28:27 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-18 21:59:09 +0000 daemon.8: Use Dv for signal names MFC after: 3 days --- 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.