diff options
| author | onelin <oscar@nelin.dk> | 2026-04-01 20:12:10 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2026-04-01 20:12:10 +0000 |
| commit | 2489faf7ac22f45ab92545db1216ce8cfa4fae98 (patch) | |
| tree | 6afe926498111511b9a2251d842948672493ad50 /cgit/40-fcgiwrap.sh | |
Initial commit
Diffstat (limited to 'cgit/40-fcgiwrap.sh')
| -rw-r--r-- | cgit/40-fcgiwrap.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cgit/40-fcgiwrap.sh b/cgit/40-fcgiwrap.sh new file mode 100644 index 0000000..3f788af --- /dev/null +++ b/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 |
