summaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'entrypoint.sh')
-rw-r--r--entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index bf3753f..3e2dcc0 100644
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -13,6 +13,14 @@ fi
13# Generate cgitrc from template 13# Generate cgitrc from template
14envsubst < /etc/cgitrc.template > /etc/cgitrc 14envsubst < /etc/cgitrc.template > /etc/cgitrc
15 15
16# Setup SSH
17ssh-keygen -A # Generate host keys if missing
18mkdir -p /git/.ssh
19touch /git/.ssh/authorized_keys
20chmod 700 /git/.ssh
21chmod 600 /git/.ssh/authorized_keys
22/usr/sbin/sshd
23
16spawn-fcgi -s ${FCGI_SOCK} /usr/bin/fcgiwrap 24spawn-fcgi -s ${FCGI_SOCK} /usr/bin/fcgiwrap
17chmod 666 ${FCGI_SOCK} 25chmod 666 ${FCGI_SOCK}
18 26