blob: 2447c6f428afcde706363f49c07d25e8197ebf52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
$NetBSD: patch-ac,v 1.1.1.1 2003/10/01 01:15:44 grant Exp $
--- rinetd.8.orig 2003-04-15 11:19:44.000000000 +1000
+++ rinetd.8
@@ -10,14 +10,14 @@
.Nd internet
.Dq redirection server
.Sh SYNOPSIS
-.Nm /usr/sbin/rinetd
+.Nm @PREFIX@/sbin/rinetd
.Sh VERSION
Version 0.62, 04/14/2003.
.Sh DESCRIPTION
.Nm rinetd
redirects TCP connections from one IP address and port to another. rinetd
is a single-process server which handles any number of connections to
-the address/port pairs specified in the file /etc/rinetd.conf.
+the address/port pairs specified in the file @PKG_SYSCONFDIR@/rinetd.conf.
Since rinetd runs as a single process using nonblocking I/O, it is
able to redirect a large number of connections without a severe
impact on the machine. This makes it practical to run TCP services
@@ -26,9 +26,9 @@ redirect FTP, because FTP requires more
.Pp
rinetd is typically launched at boot time, using the following syntax:
.Pp
-/usr/sbin/rinetd
+@PREFIX@/sbin/rinetd
.Pp
-The configuration file is found in the file /etc/rinetd.conf, unless
+The configuration file is found in the file @PKG_SYSCONFDIR@/rinetd.conf, unless
another file is specified using the -c command line option.
.Sh FORWARDING RULES
Most entries in the configuration file are forwarding rules. The
@@ -157,7 +157,7 @@ The -v command line option displays the
The kill -1 signal (SIGHUP) can be used to cause rinetd
to reload its configuration file without interrupting existing
connections.
-Under Linux\(tm the process id is saved in the file \fI/var/run/rinetd.pid\fR
+The process id is saved in the file \fI/var/run/rinetd.pid\fR
to facilitate the kill -HUP. An alternate
filename can be provided by using the <code>pidlogfile</code>
configuration file option.
|