aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-01-20 12:31:35 -0800
committerGuy Harris <gharris@sonic.net>2023-01-20 12:45:30 -0800
commit1ec09ec31a5cb69d5abe55dbe2b3f67e8dbabfc4 (patch)
tree861d487d610ef6a60275be29cad498fe177fd44f
parente240fb26720c7cf1dea49fcd76de25f4042240c9 (diff)
downloadlibpcap-1ec09ec31a5cb69d5abe55dbe2b3f67e8dbabfc4.tar.gz
rpcapd: add more service-launcher documentation to the man page.
Refer to the systemd man page. Add notes about launchd, inetd, and xinetd. (cherry picked from commit 9c5beecd59f40ce17be0db503f8a5becc293daa5)
-rw-r--r--rpcapd/rpcapd.manadmin.in43
1 files changed, 40 insertions, 3 deletions
diff --git a/rpcapd/rpcapd.manadmin.in b/rpcapd/rpcapd.manadmin.in
index 099fb25b..a14b2d83 100644
--- a/rpcapd/rpcapd.manadmin.in
+++ b/rpcapd/rpcapd.manadmin.in
@@ -30,7 +30,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.TH RPCAPD @MAN_ADMIN_COMMANDS@ "13 January 2019"
+.TH RPCAPD @MAN_ADMIN_COMMANDS@ "20 January 2023"
.SH NAME
rpcapd \- capture daemon to be controlled by a remote libpcap application
.SH SYNOPSIS
@@ -174,8 +174,45 @@ run as root or be owned by root and have suid set. Most operating
systems provide more elegant solutions when run as user than the
above solutions, all of them different.
.LP
-If your system supports systemd and the corresponding service files have been
-installed, the rpcapd service can be enabled by enabling the rpcap.socket unit.
+If your system supports
+.BR systemd (1)
+and the corresponding
+.B rpcapd.socket
+and
+.B rpcapd@.service
+service files have been
+installed, the rpcapd service can be enabled by enabling the
+.B rpcapd.socket
+unit.
+.LP
+If your system supports
+.BR launchd (@MAN_ADMIN_COMMANDS@)
+and the
+.B org.tcpdump.rpcapd.plist
+file has been installed, the rpcapd service can be enabled by loading
+the
+.B com.tcpdump.rpcapd
+service.
+.LP
+If your system supports
+.BR inetd (@MAN_ADMIN_COMMANDS@)
+and the
+.B rpcapd.inetd.conf
+entry has been added to
+.BR inetd.conf (@MAN_FILE_FORMATS@),
+the rpcapd service can be enabled by telling
+.B inetd
+to reread its configuration file.
+.LP
+If your system supports
+.BR xinetd (@MAN_ADMIN_COMMANDS@)
+and the
+.B rpcapd.xinetd.conf
+entry has been added to
+.BR xinetd.conf (@MAN_FILE_FORMATS@),
+the rpcapd service can be enabled by telling
+.B xinetd
+to reread its configuration file.
.SH OPTIONS
.TP
.BI \-b " address"