diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-09-17 14:34:50 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-09-17 14:34:50 +0200 |
commit | 00f8fd8a71ad956dda0e90a42f947f1f805585dc (patch) | |
tree | c49d959f60cc4a57c34d62c2cab3cfde6046f82e /docker/cgit/docker-entrypoint.sh |
inital commit
Diffstat (limited to 'docker/cgit/docker-entrypoint.sh')
-rwxr-xr-x | docker/cgit/docker-entrypoint.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docker/cgit/docker-entrypoint.sh b/docker/cgit/docker-entrypoint.sh new file mode 100755 index 0000000..102d46c --- /dev/null +++ b/docker/cgit/docker-entrypoint.sh @@ -0,0 +1,14 @@ +#!/bin/sh + + +if [ "${1}" = "init" ]; then + service apache2 start + + /docker-init.py + + # TODO: https://git-scm.com/docs/gitweb#_generating_projects_list_using_gitweb + + tail -f /dev/null +else + exec "$@" +fi |