提交 35b45da6 编写于 作者: D Dmitriy Zaporozhets

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

Fix resque worker becoming paused on restarts
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册