Description: Fix hyphen used as minus sign Author: Emmanuel Bouthenot Last-Update: 2009-09-20 --- a/ffproxy.conf.5.s +++ b/ffproxy.conf.5.s @@ -24,23 +24,23 @@ and documents the options. .Sh USING CONFIGURATION FILES .Ss Default ffproxy.conf -If the command line parameters -f or -F are not used, the proxy +If the command line parameters \-f or \-F are not used, the proxy tries to open .Pa _CFGFILE_ . If this file does not exist, the program continues execution. .Ss User Configuration File -Use command line parameter -f to load a non-default configuration +Use command line parameter \-f to load a non-default configuration file. You will notice the warning at the program's startup. This is due to the programs implementation that allows to reload -all configuration files. To disable the warning, use -F instead. +all configuration files. To disable the warning, use \-F instead. .Ss Deactivating -To use command line options only, use -f "". +To use command line options only, use \-f "". .Ss Reloading Configuration To let the proxy reload its configuration files, that is, besides the configuration file specified, the contents of db/ and html/, send the signal HUP to the program's master process. ffproxy pid can be found by default in file /var/run/ffproxy.pid, you can override /var/run directory -with command line paramter -n or with pid_dir setting in config file. +with command line paramter \-n or with pid_dir setting in config file. .Pp Options that can be successfully altered at runtime are .Bd -literal -offset indent --- a/ffproxy.quick.7.s +++ b/ffproxy.quick.7.s @@ -111,7 +111,7 @@ we run the program change-rooted to /var/ffproxy, so files are relative to new root. .Bd -literal -offset indent -cd /var/ffproxy ; /usr/local/bin/ffproxy -f ffproxy.conf +cd /var/ffproxy ; /usr/local/bin/ffproxy \-f ffproxy.conf .Ed .Pp starts ffproxy. Now test if it works correctly. --- a/ffproxy.8.s +++ b/ffproxy.8.s @@ -64,20 +64,20 @@ .It Fl r Ar dir Change root .Xr chroot 7 -to dir. Used in conjunction with -u and -g. Because ffproxy +to dir. Used in conjunction with \-u and \-g. Because ffproxy drops its privileges and chroots after reading the configuration files, --D should be set to . (the current dir). It might need +\-D should be set to . (the current dir). It might need .Pa /etc/resolv.conf copied as etc/resolv.conf in its working directory. Example: -``# cd /var/ffproxy ; /usr/local/bin/ffproxy -r /var/ffproxy -D . -d -u proxy -g proxy -f ""'' +``# cd /var/ffproxy ; /usr/local/bin/ffproxy \-r /var/ffproxy \-D . \-d \-u proxy \-g proxy \-f ""'' .It Fl x Ar ip|hostname Specify IP (or hostname) of an auxiliary proxy server that -the program will forward requests to. Used together with -X. +the program will forward requests to. Used together with \-X. .It Fl X Ar port Port number of auxiliary proxy. .It Fl D Ar dir Location of the db/ and html/ directories. For example, -specifying -D /var/ffproxy tells the proxy to search +specifying \-D /var/ffproxy tells the proxy to search for db/ files in .Pa /var/ffproxy/db/ and html/ files in @@ -96,7 +96,7 @@ .Pa _CFGFILE_ . Read .Xr ffproxy.conf 5 -for details. Use -f "" to disable configuration files. +for details. Use \-f "" to disable configuration files. .It Fl d Run as daemon. .It Fl s @@ -106,7 +106,7 @@ .It Fl b Don't bind to IPv4. Might be needed under Linux 2.4, due to a ``Feature'' IPv6 binds to IPv4, too. Try using this option or bind to specific -IPv6 address via -C. +IPv6 address via \-C. .It Fl B Don't bind to IPv6. .It Fl h @@ -170,7 +170,7 @@ are lines beginning with a # (comments). .Pp The location of the db/ directory may be specified by an -argument to the command line option -D. +argument to the command line option \-D. If this option and configuration file option db_files_path are not used, ffproxy will search for db/ and html/ in .Pa _BASE_ . @@ -249,7 +249,7 @@ ffproxy may also be used as a HTTP accelerator, that is, connecting to just one HTTP server and beeing a front-end to that. Use accel_host and accel_port -in configuration file or command line options -a and -A +in configuration file or command line options \-a and \-A to use this feature. .Pp Default behaviour is *not* sending Host: header to @@ -302,7 +302,7 @@ .Pp ffproxy write its pid file .Pa ffproxy.pid -in the directory specified by the command line parameter -n or the +in the directory specified by the command line parameter \-n or the .Pa pid_dir setting in config file. Default is .Pa /var/run .