We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d4621 commit b934957Copy full SHA for b934957
init.d/gitlab
@@ -28,6 +28,7 @@ DESC="Gitlab service"
28
check_pid(){
29
if [ -f $UNICORN_PID ]; then
30
PID=`cat $UNICORN_PID`
31
+ SPID=`cat $SIDEKIQ_PID`
32
STATUS=`ps aux | grep $PID | grep -v grep | wc -l`
33
else
34
STATUS=0
@@ -89,7 +90,7 @@ status() {
89
90
check_pid
91
if [ "$PID" -ne 0 -a "$STATUS" -ne 0 ]; then
92
echo "$DESC / Unicorn with PID $PID is running."
- echo "$DESC / Sidekiq with PID $SIDEKIQ_PID is running."
93
+ echo "$DESC / Sidekiq with PID $SPID is running."
94
95
echo "$DESC is not running."
96
exit 1
0 commit comments