diff options
Diffstat (limited to 'images/git/service')
-rw-r--r-- | images/git/service/daemon/run | 2 | ||||
-rw-r--r-- | images/git/service/fcgiwrap/run | 2 | ||||
-rw-r--r-- | images/git/service/nginx/run | 2 | ||||
-rw-r--r-- | images/git/service/sshd/run | 4 |
4 files changed, 10 insertions, 0 deletions
diff --git a/images/git/service/daemon/run b/images/git/service/daemon/run new file mode 100644 index 0000000..485e706 --- /dev/null +++ b/images/git/service/daemon/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec chpst -ugit git daemon --base-path=/data/git/repositories diff --git a/images/git/service/fcgiwrap/run b/images/git/service/fcgiwrap/run new file mode 100644 index 0000000..4c7efcb --- /dev/null +++ b/images/git/service/fcgiwrap/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec spawn-fcgi -n -s /run/fcgiwrap.sock /usr/bin/fcgiwrap 2>&1 diff --git a/images/git/service/nginx/run b/images/git/service/nginx/run new file mode 100644 index 0000000..ef7f976 --- /dev/null +++ b/images/git/service/nginx/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec nginx -g 'daemon off;' 2>&1 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 |