aboutsummaryrefslogtreecommitdiffstats
path: root/www-misc/slowcgi/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/slowcgi/files')
-rw-r--r--www-misc/slowcgi/files/slowcgi.confd1
-rw-r--r--www-misc/slowcgi/files/slowcgi.initd9
2 files changed, 10 insertions, 0 deletions
diff --git a/www-misc/slowcgi/files/slowcgi.confd b/www-misc/slowcgi/files/slowcgi.confd
new file mode 100644
index 0000000..89e9e8f
--- /dev/null
+++ b/www-misc/slowcgi/files/slowcgi.confd
@@ -0,0 +1 @@
+SLOWCGI_OPTS="-d -p / -s /run/slowcgi.sock -U caddy -u caddy"
diff --git a/www-misc/slowcgi/files/slowcgi.initd b/www-misc/slowcgi/files/slowcgi.initd
new file mode 100644
index 0000000..8c983f9
--- /dev/null
+++ b/www-misc/slowcgi/files/slowcgi.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="${RC_SVCNAME}"
+command="slowcgi"
+command_args="${SLOWCGI_OPTS}"
+command_background=yes
+pidfile="/run/${RC_SVCNAME}.pid"