summaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'entrypoint.sh')
-rw-r--r--entrypoint.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index 3e2dcc0..ba24e29 100644
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -1,4 +1,4 @@
1#!/bin/sh 1#!/bin/bash
2set -e 2set -e
3 3
4# Check cert matches domain, else clear and renew 4# Check cert matches domain, else clear and renew
@@ -21,7 +21,8 @@ chmod 700 /git/.ssh
21chmod 600 /git/.ssh/authorized_keys 21chmod 600 /git/.ssh/authorized_keys
22/usr/sbin/sshd 22/usr/sbin/sshd
23 23
24spawn-fcgi -s ${FCGI_SOCK} /usr/bin/fcgiwrap 24fcgiwrap -s unix:${FCGI_SOCK} &
25sleep 0.5
25chmod 666 ${FCGI_SOCK} 26chmod 666 ${FCGI_SOCK}
26 27
27exec caddy run --config /etc/caddy/Caddyfile --adapter caddyfile 28exec caddy run --config /etc/caddy/Caddyfile --adapter caddyfile