Commit b37a7f12 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'start-sidekiq-without-pidfile' into 'master'

Add script to start sidekiq without pid file

Closes gitlab-development-kit#494

See merge request gitlab-org/gitlab!17676
parents d1028335 421c728d
...@@ -28,7 +28,7 @@ restart() ...@@ -28,7 +28,7 @@ restart()
stop stop
fi fi
killall killall
start_sidekiq -d -L $sidekiq_logfile >> $sidekiq_logfile 2>&1 start_sidekiq -P $sidekiq_pidfile -d -L $sidekiq_logfile >> $sidekiq_logfile 2>&1
} }
start_no_deamonize() start_no_deamonize()
...@@ -45,7 +45,7 @@ start_sidekiq() ...@@ -45,7 +45,7 @@ start_sidekiq()
cmd="${cmd} ${chpst} -P" cmd="${cmd} ${chpst} -P"
fi fi
${cmd} bundle exec sidekiq -C "${sidekiq_config}" -e $RAILS_ENV -P $sidekiq_pidfile "$@" ${cmd} bundle exec sidekiq -C "${sidekiq_config}" -e $RAILS_ENV "$@"
} }
load_ok() load_ok()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment