gitlab-org--gitlab-foss/bin/web

21 lines
322 B
Plaintext
Raw Normal View History

2014-07-04 07:45:20 +00:00
#!/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