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:
18
www-misc/slowcgi/files/slowcgi.initd-r1
Normal file
18
www-misc/slowcgi/files/slowcgi.initd-r1
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user