From 56150650dc2f1adfb72301489d926a8a67b82b27 Mon Sep 17 00:00:00 2001 From: onelin Date: Tue, 7 Jul 2026 21:04:17 +0200 Subject: Unify docker image This makes it easier to manage and unifies the services that essentially belong together. Might consider making it a split configuration again later, but for now it makes much more sense such that fail2ban can better operate with all the available logs instead of managing the circus that is docker volumes. --- gitolite/cgit/40-fcgiwrap.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 gitolite/cgit/40-fcgiwrap.sh (limited to 'gitolite/cgit/40-fcgiwrap.sh') diff --git a/gitolite/cgit/40-fcgiwrap.sh b/gitolite/cgit/40-fcgiwrap.sh new file mode 100644 index 0000000..3f788af --- /dev/null +++ b/gitolite/cgit/40-fcgiwrap.sh @@ -0,0 +1,10 @@ +#!/bin/sh +set -ex + +# start fastcgiwrap +rm -f /run/fcgiwrap.socket +nohup fcgiwrap -s unix:/run/fcgiwrap.socket & +while ! [ -S /run/fcgiwrap.socket ]; do sleep .2; done +chown nginx:www-data /run/fcgiwrap.socket +#chmod g+rwx /run/fcgiwrap.socket +#test -f nohup.out && rm -f ./nohup.out -- cgit v1.3