summaryrefslogtreecommitdiff
path: root/images/git/service/sshd/run
diff options
context:
space:
mode:
Diffstat (limited to 'images/git/service/sshd/run')
-rw-r--r--images/git/service/sshd/run4
1 files changed, 4 insertions, 0 deletions
diff --git a/images/git/service/sshd/run b/images/git/service/sshd/run
new file mode 100644
index 0000000..91abb22
--- /dev/null
+++ b/images/git/service/sshd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p /data/ssh
+chmod +x /app/generate_certs.sh
+/app/generate_certs.sh && exec /usr/sbin/sshd -D 2>&1