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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin/web
diff options
context:
space:
mode:
Diffstat (limited to 'bin/web')
-rwxr-xr-xbin/web10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/web b/bin/web
index c1ab4718f0d..4d2a16f6665 100755
--- a/bin/web
+++ b/bin/web
@@ -2,7 +2,7 @@
set -e
-cd $(dirname $0)/..
+cd "$(dirname "$0")/.."
app_root=$(pwd)
puma_pidfile="$app_root/tmp/pids/puma.pid"
@@ -25,12 +25,12 @@ get_puma_pid()
start()
{
- spawn_puma &
+ spawn_puma "$@" &
}
start_foreground()
{
- spawn_puma
+ spawn_puma "$@"
}
stop()
@@ -46,10 +46,10 @@ reload()
case "$1" in
start)
- start
+ start "$@"
;;
start_foreground)
- start_foreground
+ start_foreground "$@"
;;
stop)
stop