.TH mfscgiserv "8" "February 2023" "MooseFS 3.0.117-1" "This is part of MooseFS"
.SH NAME
mfscgiserv \- start HTTP/CGI server for Moose File System monitoring
.SH SYNOPSIS
.B mfscgiserv
[\fB\-H\fP \fIBIND_HOST\fP]
[\fB\-P\fP \fIBIND_PORT\fP]
[\fB\-R\fP \fIROOT_PATH\fP]
[\fB\-t\fP \fILOCKTIMEOUT\fP]
[\fB\-f\fP [\fB\-v\fP]]
[\fIACTION\fP]
.PP
.B mfscgiserv \-h
.SH DESCRIPTION
.PP
\fBmfscgiserv\fP is a very simple HTTP server capable of running CGI
scripts for Moose File System monitoring.
.SH OPTIONS
.TP
\fB\-h\fP
print usage information and exit
.TP
\fB\-H\fP \fIBIND_HOST\fP
local address to listen on (default: any)
.TP
\fB\-P\fP \fIBIND_PORT\fP
port to listen on (default: 9425)
.TP
\fB\-R\fP \fIROOT_PATH\fP
local path to use as HTTP document root (default is CGIDIR set up at configure time)
.TP
\fB\-f\fP
run in foreground, don't daemonize
.TP
\fB\-v\fP
log requests on stderr
.TP
\fB\-t\fP \fILOCKTIMEOUT\fP
how long to wait for lockfile (in seconds; default is 60 seconds)
.TP
\fIACTION\fP
is one of \fBstart\fP, \fBstop\fP, \fBrestart\fP or \fBtest\fP. Default action is
\fBrestart\fP. The \fBtest\fP action will yield one of two responses: 
"mfscgiserv pid: PID" or "mfscgiserv is not running".
.SH COPYRIGHT
Copyright (C) 2023 Jakub Kruszona-Zawadzki, Saglabs SA

This file is part of MooseFS.

MooseFS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 2 (only).

MooseFS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with MooseFS; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA
or visit http://www.gnu.org/licenses/gpl-2.0.html