summaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'entrypoint.sh')
-rw-r--r--entrypoint.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index 5a4bd74..95d2bad 100644
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -7,7 +7,11 @@ if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
fi
+spawn-fcgi -s /run/fcgiwrap/fcgiwrap.socket -f /usr/bin/fcgiwrap
+chown nginx:nginx /run/fcgiwrap/fcgiwrap.socket
+
+nginx -g "daemon off;" &
# Start the SSH daemon
-/usr/sbin/sshd -D -e 2>&1
+/usr/sbin/sshd -D -e 2>&1