From nobody Fri Sep 22 15:07:39 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 4RsbGz4Chxz4v0VG; Fri, 22 Sep 2023 15:07:39 +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 4RsbGz3QlYz3Zdx; Fri, 22 Sep 2023 15:07:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695395259; 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=rn4g51FuljcKshdRg7DeoVwCyQG3/+2Ai3LiPD8X0hs=; b=jvcdCxxKsnfixaz0fwvP5s2JXUJqwgJC5pbOtYfwe7bIg485CmJ5jYkWPyvf4r9bv8d2VN ZHidRUl1AjI2GXhIcO6NzOLOzSvpsw2JpLM+hGyUJUfkPztxZeFgQgA6k6eE8ej7Zs7Ty5 CcuVCeaul30k61aapQJxpQYlljEDX7q1YDxxJd4jklMWs4/+Tv85kTZq+QtmWZSCKpjR1q i0QjOzDV7gLusWxvRt1YmQvk5luR+vo6/oW8nq+xQo96xfFCkggD9bVG5Wm4Jf1cWlG4Sq K5aTp0qLuDOfaG4I25c6q0nRUPFiyV9339Mhb3I+8UlyhEf/euowYHOxU6ph3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695395259; a=rsa-sha256; cv=none; b=dFbSflqwrLqZDfzRPJy3JPtbJnCBj1mj4lywV1ulvUQLc10xGzFB9YIMAMmXBevXth70JS Gr3Lfre5VDxJ12ymbbTtYeQPXIZd+RAIRkIFx3iKEQmfsNRyBAkcA1CqiVQxOmOdWPzeJa hLRF3Ji2Tt6jjYbAwfSvXmY3OlpgUYeBWtl9l9tYSpLwN3XddMahGFflGFF9BW9C05f6vQ ZKGaWtKD2TsOOuEwphcExj9ucI25kXYe41T+iLk5lRknLchBzjGxNcf8EzkjjW2l3lYlFE zDz0PeAlowJ7Vdpc3V7RS9FNzyXEWbYntPHY0rv9+Dj1bsKwflGD2/pLxAPXpw== 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=1695395259; 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=rn4g51FuljcKshdRg7DeoVwCyQG3/+2Ai3LiPD8X0hs=; b=ZX29OwjrBngOSafM5s7TJUilxOBh26co3dOGruPLqknu58/NyEcuAditEsvKPdKIrG9XjG bUf+6ZULbpFb+9qdQ8jtvZ8k7UPR48w0nMtRoBqlEHR9fjJgCJzQJdIF8jlLQ2dQy6xSem vj3o25uMSLq7F9P17RvNkMZj+f1Eht8iuV4E6Aqz5akyCyj6d94x4P/R7K2SwBqJ6wSiSV RUe7iYhUoY0F2lAOgJp6HE3/KyJCG+DigdByQfjEtcPV6scwJCScaIDBASlrLwbKmmYt5V yK+E8ZnoYIa8zaWmvx0NMmiSVh5qK2O6kZBuMrSQ2aYwxtXguViYwPHf+S/X9w== 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 4RsbGz2VxBzBMD; Fri, 22 Sep 2023 15:07:39 +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 38MF7dk6064141; Fri, 22 Sep 2023 15:07:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MF7d3T064138; Fri, 22 Sep 2023 15:07:39 GMT (envelope-from git) Date: Fri, 22 Sep 2023 15:07:39 GMT Message-Id: <202309221507.38MF7d3T064138@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: ab77ddea3325 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: ab77ddea332528c306faf356d49e7b58cf1526b6 Auto-Submitted: auto-generated The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=ab77ddea332528c306faf356d49e7b58cf1526b6 commit ab77ddea332528c306faf356d49e7b58cf1526b6 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 18:28:27 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-22 15:07: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.