1 .\" Copyright (c) 2023 Omar Polo <op@omarpolo.com>
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 .Nd FastCGI interface to browse the OpenBSD port tree
30 is a FastCGI server that serves an interface to browse through and
33 port tree from Gemini.
36 .Pa /var/www/run/pkg_fcgi.sock ,
37 owned by www:www with permissions 0660.
42 and drop privileges to user
44 Three child processes are ran to handle the incoming traffic on the
48 the database is closed and re-opened.
49 The default database used is at
50 .Pa /pkg_fcgi/pkgs.sqlite3
53 The options are as follows:
57 If this option is specified,
59 will run in the foreground and log to standard error.
72 effectively disables the chroot.
74 Create an bind to the local socket at
79 instead of default user www and
81 to their home directory.
83 Enable more verbose (debug) logging.
86 options increase the verbosity.
89 Example configuration for
91 .Bd -literal -offset -indent
94 fastcgi socket "/run/pkg_fcgi.sock"
100 .An Omar Polo Aq Mt op@omarpolo.com