File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ APP_ROOT="/home/gitlab/gitlab"
1919DAEMON_OPTS=" -c $APP_ROOT /config/unicorn.rb -E production"
2020PID_PATH=" $APP_ROOT /tmp/pids"
2121UNICORN_PID=" $PID_PATH /unicorn.pid"
22- RESQUE_PID =" $PID_PATH /sidekiq.pid"
22+ SIDEKIQ_PID =" $PID_PATH /sidekiq.pid"
2323STOP_SIDEKIQ=" RAILS_ENV=production bundle exec rake sidekiq:stop"
2424START_SIDEKIQ=" RAILS_ENV=production bundle exec rake sidekiq:start"
2525NAME=" unicorn"
@@ -59,7 +59,6 @@ stop() {
5959 kill -QUIT ` cat $UNICORN_PID `
6060 sudo -u gitlab -H bash -l -c " mkdir -p $PID_PATH && $STOP_SIDEKIQ > /dev/null 2>&1 &"
6161 rm " $UNICORN_PID " >> /dev/null
62- rm " $RESQUE_PID " >> /dev/null
6362 echo " $DESC stopped"
6463 else
6564 # # Program is not running, exit with error.
@@ -89,7 +88,8 @@ status() {
8988 cd $APP_ROOT
9089 check_pid
9190 if [ " $PID " -ne 0 -a " $STATUS " -ne 0 ]; then
92- echo " $DESC with PID $PID is running."
91+ echo " $DESC / Unicorn with PID $PID is running."
92+ echo " $DESC / Sidekiq with PID $SIDEKIQ_PID is running."
9393 else
9494 echo " $DESC is not running."
9595 exit 1
You can’t perform that action at this time.
0 commit comments