www-misc/slowcgi[live]: introduce OpenRC supervision scripts, update dependency list

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
Shin'ya Minazuki
2026-04-10 19:17:56 -03:00
parent e9ec08baf4
commit 7a7d389a3c
3 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
#!/sbin/openrc-run
# Copyright 2026 Shin'ya Minazuki
: ${slowcgi_args=""}
: ${slowcgi_user="nginx"}
name="FastCGI to CGI wrapper server"
command=/usr/sbin/slowcgi
command_args="${slowcgi_args}"
depend() {
# As declared upstream, www-servers/nginx is a requirement
# for this port of OpenBSD's slowcgi(8)
# This should not be a problem for other web servers such
# as www-servers/apache
# ~Shin'ya Minazuki
need nginx
}