From bc5c44dd049bad3b007be48b3f8d90886d63c105 Mon Sep 17 00:00:00 2001 From: System administrator Date: Mon, 29 May 2017 13:26:10 +0200 Subject: Initial commit --- images/git/service/daemon/run | 2 ++ images/git/service/fcgiwrap/run | 2 ++ images/git/service/nginx/run | 2 ++ images/git/service/sshd/run | 4 ++++ 4 files changed, 10 insertions(+) create mode 100644 images/git/service/daemon/run create mode 100644 images/git/service/fcgiwrap/run create mode 100644 images/git/service/nginx/run create mode 100644 images/git/service/sshd/run (limited to 'images/git/service') 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 -- cgit v1.2.3