version 1.4, 2011/12/24 22:37:16 |
version 1.5, 2011/12/25 19:35:44 |
|
|
.Nm |
.Nm |
utility updates cached manpages for a jailed |
utility updates cached manpages for a jailed |
.Xr man.cgi 7 . |
.Xr man.cgi 7 . |
|
.Pp |
|
By default, |
|
.Nm |
|
searches for |
|
.Xr mandocdb 8 |
|
databases in the default paths stipulated by |
|
.Xr man 1 |
|
and updates the cache in |
|
.Pa /var/www/cache/man.cgi . |
|
.Pp |
Its arguments are as follows: |
Its arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl f |
.It Fl f |
Line 61 Update into the directory tree under |
|
Line 71 Update into the directory tree under |
|
.Ar path . |
.Ar path . |
.El |
.El |
.Pp |
.Pp |
By default, |
Cache updates occur when a |
.Nm |
|
searches for |
|
.Xr mandocdb 8 |
.Xr mandocdb 8 |
databases in the default paths stipulated by |
database is older than the cached copy unless |
.Xr man 1 |
|
and updates the cache in |
|
.Pa /var/www/cache/man.cgi . |
|
.Pp |
|
An update occurs when a |
|
.Xr mandocdb 8 |
|
database is older than the cached copy. |
|
Cached manual pages are only updated if older than the master copy. |
|
If |
|
.Fl f |
.Fl f |
is specified, all files are updated. |
is specified, in which case files are always considered out of date. |
|
Cached manual pages are only updated if older than the master copy. |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Ev MANPATH |
.It Ev MANPATH |