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"
19
19
DAEMON_OPTS=" -c $APP_ROOT /config/unicorn.rb -E production"
20
20
PID_PATH=" $APP_ROOT /tmp/pids"
21
21
UNICORN_PID=" $PID_PATH /unicorn.pid"
22
- RESQUE_PID =" $PID_PATH /sidekiq.pid"
22
+ SIDEKIQ_PID =" $PID_PATH /sidekiq.pid"
23
23
STOP_SIDEKIQ=" RAILS_ENV=production bundle exec rake sidekiq:stop"
24
24
START_SIDEKIQ=" RAILS_ENV=production bundle exec rake sidekiq:start"
25
25
NAME=" unicorn"
@@ -59,7 +59,6 @@ stop() {
59
59
kill -QUIT ` cat $UNICORN_PID `
60
60
sudo -u gitlab -H bash -l -c " mkdir -p $PID_PATH && $STOP_SIDEKIQ > /dev/null 2>&1 &"
61
61
rm " $UNICORN_PID " >> /dev/null
62
- rm " $RESQUE_PID " >> /dev/null
63
62
echo " $DESC stopped"
64
63
else
65
64
# # Program is not running, exit with error.
@@ -89,7 +88,8 @@ status() {
89
88
cd $APP_ROOT
90
89
check_pid
91
90
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."
93
93
else
94
94
echo " $DESC is not running."
95
95
exit 1
You can’t perform that action at this time.
0 commit comments