Commit 35b45da6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #984 from abevoelker/fix-init.d-resque

Fix resque worker becoming paused on restarts
parents f197fa1f 9a7cce2f
...@@ -307,13 +307,11 @@ Create init script in /etc/init.d/gitlab: ...@@ -307,13 +307,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."
;; ;;
*) *)
......
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