spawn-fcgi

authors: Jan Kneschke, Stefan Bühler

homepage: https://redmine.lighttpd.net/projects/spawn-fcgi

abstract: spawn-fcgi is used to spawn FastCGI applications

Features

  • binds to IPv4/IPv6 and Unix domain sockets
  • supports privilege separation: chmod/chown socket, drop to uid/gid
  • supports chroot
  • supports daemontools supervise

systemd

Please note that systemd can be used instead of spawn-fcgi; just configure a .socket unit and add StandardInput=socket in the service. (FastCGI applications expect the listening socket on STDIN.)

Build

meson is required to build.

Setup a build directory build:

meson setup build --prefix /usr/local

Compile it:

meson compile -C build

Install:

meson install -C build

Usage

See man page, e.g. rendered for debian unstable.

See the doc directory for example run-* scripts for use with runit or daemontools.

S
Description
spawns FastCGI processes
Readme 140 KiB
2025-03-01 19:42:51 +00:00
Languages
C 65.4%
Roff 13.9%
Shell 10.9%
Meson 9.8%