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

21 lines
288 B
Text
Raw Normal View History

2014-07-04 03:45:20 -04: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