Welcome to mirror list, hosted at ThFree Co, Russian Federation.

web « bin - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin/web
blob: 0f5689770a7f06e5cda5432a22d8323c1bba6b6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

cd $(dirname $0)/..

case "$USE_WEB_SERVER" in
    puma|"") # and the "" defines default
        exec bin/web_puma "$@"
        ;;

    unicorn)
        exec bin/web_unicorn "$@"
        ;;

    *)
        echo "Unkown web server used by USE_WEB_SERVER: $USE_WEB_SERVER."
        exit 1
        ;;
esac