From 002a80a782c030c70414944c93f58d370eb81ed7 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 14 Jul 2020 16:34:44 -0400 Subject: Allow setting things by env vars --- scooper.1 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'scooper.1') diff --git a/scooper.1 b/scooper.1 index c00974a..0bd63b0 100644 --- a/scooper.1 +++ b/scooper.1 @@ -28,6 +28,11 @@ provides a CGI or FastCGI web interface for the .Xr litterbox 1 IRC log database. +To use FastCGI, +run +.Nm +under +.Xr kfcgi 8 . . .Pp The arguments are as follows: @@ -72,6 +77,36 @@ The path to the database. .El . +.Sh ENVIRONMENT +In addition to the standard CGI environment variables, +.Nm +reads the following: +.Pp +.Bl -tag -width "SCOOPER_STYLESHEET" -compact +.It Ev SCOOPER_DATABASE +The path to the +.Xr litterbox 1 +database. +.It Ev SCOOPER_GAP +Equivalent to +.Fl g . +.It Ev SCOOPER_LIMIT +Equivalent to +.Fl l . +.It Ev SCOOPER_OVERLAP +Equivalent to +.Fl o . +.It Ev SCOOPER_PUBLIC +Equivalent to +.Fl p . +.It Ev SCOOPER_RECENT +Equivalent to +.Fl r . +.It Ev SCOOPER_STYLESHEET +Equivalent to +.Fl s . +.El +. .Sh SEE ALSO .Xr kfcgi 8 , .Xr litterbox 1 -- cgit 1.4.1