Fix resque worker becoming paused on restarts
This commit is contained in:
parent
666cdb2279
commit
9a7cce2fa9
|
@ -299,13 +299,11 @@ Create init script in /etc/init.d/gitlab:
|
||||||
restart)
|
restart)
|
||||||
echo -n "Restarting $DESC: "
|
echo -n "Restarting $DESC: "
|
||||||
kill -USR2 `cat $PID`
|
kill -USR2 `cat $PID`
|
||||||
kill -USR2 `cat $RESQUE_PID`
|
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
reload)
|
reload)
|
||||||
echo -n "Reloading $DESC configuration: "
|
echo -n "Reloading $DESC configuration: "
|
||||||
kill -HUP `cat $PID`
|
kill -HUP `cat $PID`
|
||||||
kill -HUP `cat $RESQUE_PID`
|
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue