summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/fs/etc/tmpfiles.d/emperor.uwsgi.conf1
-rw-r--r--public/fs/etc/uwsgi/vassals/cgit.ini12
2 files changed, 13 insertions, 0 deletions
diff --git a/public/fs/etc/tmpfiles.d/emperor.uwsgi.conf b/public/fs/etc/tmpfiles.d/emperor.uwsgi.conf
new file mode 100644
index 0000000..bba8461
--- /dev/null
+++ b/public/fs/etc/tmpfiles.d/emperor.uwsgi.conf
@@ -0,0 +1 @@
+d /run/uwsgi 0755 nginx nginx - \ No newline at end of file
diff --git a/public/fs/etc/uwsgi/vassals/cgit.ini b/public/fs/etc/uwsgi/vassals/cgit.ini
new file mode 100644
index 0000000..59e20e2
--- /dev/null
+++ b/public/fs/etc/uwsgi/vassals/cgit.ini
@@ -0,0 +1,12 @@
+[uwsgi]
+plugins = cgi
+cgi = /srv/www/cgi-bin/cgit/cgit.cgi
+
+socket = /run/uwsgi/cgit.socket
+chown-socket = nginx:nginx
+
+uid = nginx
+gid = nginx
+
+processes = 1
+threads = 8