summaryrefslogtreecommitdiff
path: root/cgit/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/entrypoint.sh')
-rw-r--r--cgit/entrypoint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgit/entrypoint.sh b/cgit/entrypoint.sh
new file mode 100644
index 0000000..7981264
--- /dev/null
+++ b/cgit/entrypoint.sh
@@ -0,0 +1,4 @@
+spawn-fcgi -s /run/fcgiwrap/fcgiwrap.socket -f /usr/bin/fcgiwrap
+chown nginx:nginx /run/fcgiwrap/fcgiwrap.socket
+
+exec nginx -g "daemon off;"