Update lib/tasks/sidekiq.rake
Update lib/tasks/sidekiq.rake

Mac OS uses launchd instead of /etc/init.d to start daemons and tasks to be started by launchd MUST NOT daemon itself. So "nohup" here won't work for Mac OS. 

Can we add a "launchd" task to the rake file so that we can start sidekiq as "bundle exec rake sidekiq:launchd" ?
Soullivaneuh/gitlabhq,dukex/gitlabhq,bozaro/gitlabhq,rfeese/gitlab-ce,yfaizal/gitlabhq,dvrylc/gitlabhq,mmkassem/gitlabhq,jaepyoung/gitlabhq,Tyrael/gitlabhq,NARKOZ/gitlabhq,yfaizal/gitlabhq,NuLL3rr0r/gitlabhq,akumetsuv/gitlab,mente/gitlabhq,it33/gitlabhq,LytayTOUCH/gitlabhq,kitech/gitlabhq,CodeCantor/gitlabhq,phinfonet/mobbr-gitlabhq,daiyu/gitlab-zh,mrb/gitlabhq,jaepyoung/gitlabhq,salipro4ever/gitlabhq,DanielZhangQingLong/gitlabhq,SkyWei/gitlabhq,hzy001/gitlabhq,martinma4/gitlabhq,Tyrael/gitlabhq,larryli/gitlabhq,cncodog/gitlab,htve/GitlabForChinese,lbt/gitlabhq,Telekom-PD/gitlabhq,cncodog/gitlab,joalmeid/gitlabhq,Razer6/gitlabhq,allistera/gitlabhq,Razer6/gitlabhq,dwrensha/gitlabhq,adaiguoguo/gitlab_globalserarch,t-zuehlsdorff/gitlabhq,kemenaran/gitlabhq,1ed/gitlabhq,michaKFromParis/sparkslab,johnmyqin/gitlabhq,sue445/gitlabhq,johnmyqin/gitlabhq,icedwater/gitlabhq,stellamiranda/mobbr-gitlabhq,fgbreel/gitlabhq,tk23/gitlabhq,Kambda/Mobbr,8thcolor/testing-public-gitlabhq,pkallberg/tjenare,CodeCantor/gitlabhq,fearenales/gitlabhq,adaiguoguo/gitlab_globalserarch,axilleas/gitlabhq,jrjang/gitlabhq,ttasanen/gitlabhq,dukex/gitlabhq,ngpestelos/gitlabhq,sekcheong/gitlabhq,Telekom-PD/gitlabhq,pjknkda/gitlabhq,betabot7/gitlabhq,Soullivaneuh/gitlabhq,martinma4/gitlabhq,pulkit21/gitlabhq,whluwit/gitlabhq,manfer/gitlabhq,jairzh/gitlabhq-sfdc,hacsoc/gitlabhq,jrjang/gitlab-ce,pjknkda/gitlabhq,jirutka/gitlabhq,bladealslayer/gitlabhq,sue445/gitlabhq,hq804116393/gitlabhq,dreampet/gitlab,bozaro/gitlabhq,folpindo/gitlabhq,htve/GitlabForChinese,dreampet/gitlab,Burick/gitlabhq,achako/gitlabhq,allysonbarros/gitlabhq,wangcan2014/gitlabhq,theodi/gitlabhq,mavimo/gitlabhq,jairzh/gitlabhq-sfdc,dukex/gitlabhq,Tyrael/gitlabhq,OlegGirko/gitlab-ce,rfeese/gitlab-ce,mente/gitlabhq,per-garden/gitlabhq,bigsurge/gitlabhq,tim-hoff/gitlabhq,pulkit21/gitlabhq,WSDC-NITWarangal/gitlabhq,OlegGirko/gitlab-ce,yama07/gitlabhq,julianengel/gitlabhq,windymid/test2,fpgentil/gitlabhq,michaKFromParis/sparkslab,LUMC/gitlabhq,zrbsprite/gitlabhq,whluwit/gitlabhq,szechyjs/gitlabhq,Datacom/gitlabhq,dvrylc/gitlabhq,copystudy/gitlabhq,mr-dxdy/gitlabhq,gopeter/gitlabhq,yonglehou/gitlabhq,revaret/gitlabhq,Datacom/gitlabhq,stellamiranda/mobbr-gitlabhq,nuecho/gitlabhq,8thcolor/testing-public-gitlabhq,per-garden/gitlabhq,rebecamendez/gitlabhq,ArthurHoaro/Public-GitLab,mmkassem/gitlabhq,martinma4/gitlabhq,iiet/iiet-git,sideci-sample/sideci-sample-gitlabhq,chenrui2014/gitlabhq,tempbottle/gitlabhq,vjustov/gitlabhq,initiummedia/gitlabhq,johnmyqin/gitlabhq,fantasywind/gitlabhq,michaKFromParis/gitlabhq,cui-liqiang/gitlab-ce,Kambda/mobbr-gitlabhq,duduribeiro/gitlabhq,8thcolor/rubyconfau2015-sadr,ordiychen/gitlabhq,H3Chief/gitlabhq,H3Chief/gitlabhq,yuyue2013/ss,axilleas/gitlabhq,neiljbrookes/glab,salipro4ever/gitlabhq,openwide-java/gitlabhq,koreamic/gitlabhq,kotaro-dev/gitlab-6-9,fendoudeqingchunhh/gitlabhq,rebecamendez/gitlabhq,sue445/gitlabhq,zrbsprite/gitlabhq,williamherry/gitlabhq,sonalkr132/gitlabhq,kemenaran/gitlabhq,hacsoc/gitlabhq,dplarson/gitlabhq,chenrui2014/gitlabhq,liyakun/gitlabhq,xuvw/gitlabhq,TheWatcher/gitlabhq,hq804116393/gitlabhq,initiummedia/gitlabhq,MauriceMohlek/gitlabhq,8thcolor/eurucamp2014-htdsadr,hzy001/gitlabhq,SVArago/gitlabhq,stanhu/gitlabhq,gorgee/gitlabhq,Razer6/gitlabhq,michaKFromParis/gitlabhqold,DanielZhangQingLong/gitlabhq,rhels/gitlabhq,sekcheong/gitlabhq,cui-liqiang/gitlab-ce,fgbreel/gitlabhq,rumpelsepp/gitlabhq,copystudy/gitlabhq,pulkit21/gitlabhq,mrb/gitlabhq,chrrrles/nodeflab,ttasanen/gitlabhq,zBMNForks/gitlabhq,jvanbaarsen/gitlabhq,michaKFromParis/sparkslab,Soullivaneuh/gitlabhq,yatish27/gitlabhq,eliasp/gitlabhq,michaKFromParis/gitlabhqold,kitech/gitlabhq,iiet/iiet-git,ordiychen/gitlabhq,ttasanen/gitlabhq,ksoichiro/gitlabhq,Exeia/gitlabhq,sakishum/gitlabhq,williamherry/gitlabhq,whluwit/gitlabhq,chadyred/gitlabhq,gorgee/gitlabhq,Keystion/gitlabhq,123Haynes/gitlabhq,gorgee/gitlabhq,Burick/gitlabhq,jvanbaarsen/gitlabhq,darkrasid/gitlabhq,jrjang/gitlab-ce,TheWatcher/gitlabhq,sekcheong/gitlabhq,gopeter/gitlabhq,initiummedia/gitlabhq,duduribeiro/gitlabhq,sakishum/gitlabhq,since2014/gitlabhq,Soullivaneuh/gitlabhq,kitech/gitlabhq,fearenales/gitlabhq,LUMC/gitlabhq,stoplightio/gitlabhq,hzy001/gitlabhq,SkyWei/gitlabhq,OtkurBiz/gitlabhq,kitech/gitlabhq,fpgentil/gitlabhq,Tyrael/gitlabhq,neiljbrookes/glab,since2014/gitlabhq,theodi/gitlabhq,k4zzk/gitlabhq,OtkurBiz/gitlabhq,ksoichiro/gitlabhq,SkyWei/gitlabhq,initiummedia/gitlabhq,lvfeng1130/gitlabhq,jairzh/gitlabhq-sfdc,openwide-java/gitlabhq,zrbsprite/gitlabhq,iiet/iiet-git,larryli/gitlabhq,folpindo/gitlabhq,delkyd/gitlabhq,pupaxxo/gitlabhq,LUMC/gitlabhq,ferdinandrosario/gitlabhq,theodi/gitlabhq,dwrensha/gitlabhq,bladealslayer/gitlabhq,goeun/myRepo,stanhu/gitlabhq,SVArago/gitlabhq,hacsoc/gitlabhq,bbodenmiller/gitlabhq,NKMR6194/gitlabhq,Razer6/gitlabhq,dyon/gitlab,sideci-sample/sideci-sample-gitlabhq,WSDC-NITWarangal/gitlabhq,CodeCantor/gitlabhq,ttasanen/gitlabhq,shinexiao/gitlabhq,adaiguoguo/gitlab_globalserarch,openwide-java/gitlabhq,stoplightio/gitlabhq,yonglehou/gitlabhq,DanielZhangQingLong/gitlabhq,Devin001/gitlabhq,cinderblock/gitlabhq,flashbuckets/gitlabhq,tempbottle/gitlabhq,rhels/gitlabhq,mmkassem/gitlabhq,duduribeiro/gitlabhq,zBMNForks/gitlabhq,k4zzk/gitlabhq,openwide-java/gitlabhq,manfer/gitlabhq,childbamboo/gitlabhq,ferdinandrosario/gitlabhq,vjustov/gitlabhq,joalmeid/gitlabhq,nuecho/gitlabhq,123Haynes/gitlabhq,yama07/gitlabhq,ikappas/gitlabhq,betabot7/gitlabhq,per-garden/gitlabhq,dyon/gitlab,delkyd/gitlabhq,ZeoAlliance/gitlabhq,rebecamendez/gitlabhq,daiyu/gitlab-zh,SVArago/gitlabhq,lvfeng1130/gitlabhq,ibiart/gitlabhq,ArthurHoaro/Public-GitLab,revaret/gitlabhq,Keystion/gitlabhq,1ed/gitlabhq,sekcheong/gitlabhq,since2014/gitlabhq,ngpestelos/gitlabhq,Kambda/Mobbr,nmav/gitlabhq,sonalkr132/gitlabhq,mavimo/gitlabhq,copystudy/gitlabhq,kotaro-dev/gitlab-6-9,t-zuehlsdorff/gitlabhq,windymid/test2,dvrylc/gitlabhq,mrb/gitlabhq,ngpestelos/gitlabhq,phinfonet/mobbr-gitlabhq,yulchitaj/TEST3,hq804116393/gitlabhq,8thcolor/testing-public-gitlabhq,LytayTOUCH/gitlabhq,NKMR6194/gitlabhq,it33/gitlabhq,shinexiao/gitlabhq,MauriceMohlek/gitlabhq,yatish27/gitlabhq,chadyred/gitlabhq,pkgr/gitlabhq,nguyen-tien-mulodo/gitlabhq,stanhu/gitlabhq,bladealslayer/gitlabhq,rfeese/gitlab-ce,bigsurge/gitlabhq,tim-hoff/gitlabhq,liyakun/gitlabhq,mrb/gitlabhq,MauriceMohlek/gitlabhq,yatish27/gitlabhq,mente/gitlabhq,jrjang/gitlabhq,Kambda/Mobbr,H3Chief/gitlabhq,chrrrles/nodeflab,yama07/gitlabhq,dreampet/gitlab,windymid/test2,zBMNForks/gitlabhq,louahola/gitlabhq,mr-dxdy/gitlabhq,eliasp/gitlabhq,jirutka/gitlabhq,dwrensha/gitlabhq,yfaizal/gitlabhq,fgbreel/gitlabhq,louahola/gitlabhq,luzhongyang/gitlabhq,rhels/gitlabhq,yuyue2013/ss,sakishum/gitlabhq,revaret/gitlabhq,atomaka/gitlabhq,atomaka/gitlabhq,fearenales/gitlabhq,julianengel/gitlabhq,jirutka/gitlabhq,copystudy/gitlabhq,sonalkr132/gitlabhq,theonlydoo/gitlabhq,flashbuckets/gitlabhq,OtkurBiz/gitlabhq,nmav/gitlabhq,mavimo/gitlabhq,darkrasid/gitlabhq,mathstuf/gitlabhq,xuvw/gitlabhq,cinderblock/gitlabhq,Kambda/mobbr-gitlabhq,lbt/gitlabhq,NARKOZ/gitlabhq,szechyjs/gitlabhq,Telekom-PD/gitlabhq,shinexiao/gitlabhq,8thcolor/rubyconfau2015-sadr,liyakun/gitlabhq,rhels/gitlabhq,cinderblock/gitlabhq,pkgr/gitlabhq,xuvw/gitlabhq,jrjang/gitlabhq,cinderblock/gitlabhq,t-zuehlsdorff/gitlabhq,bbodenmiller/gitlabhq,bbodenmiller/gitlabhq,theonlydoo/gitlabhq,youprofit/gitlabhq,pupaxxo/gitlabhq,louahola/gitlabhq,Devin001/gitlabhq,jrjang/gitlabhq,screenpages/gitlabhq,chadyred/gitlabhq,Datacom/gitlabhq,michaKFromParis/gitlabhq,lvfeng1130/gitlabhq,rumpelsepp/gitlabhq,sonalkr132/gitlabhq,ordiychen/gitlabhq,icedwater/gitlabhq,cncodog/gitlab,kemenaran/gitlabhq,williamherry/gitlabhq,DanielZhangQingLong/gitlabhq,goeun/myRepo,childbamboo/gitlabhq,rfeese/gitlab-ce,per-garden/gitlabhq,ngpestelos/gitlabhq,allistera/gitlabhq,rumpelsepp/gitlabhq,1ed/gitlabhq,yulchitaj/TEST3,daiyu/gitlab-zh,allysonbarros/gitlabhq,jrjang/gitlab-ce,rebecamendez/gitlabhq,ibiart/gitlabhq,chenrui2014/gitlabhq,screenpages/gitlabhq,nuecho/gitlabhq,koreamic/gitlabhq,tim-hoff/gitlabhq,luzhongyang/gitlabhq,ikappas/gitlabhq,fpgentil/gitlabhq,fscherwi/gitlabhq,Datacom/gitlabhq,michaKFromParis/gitlabhqold,luzhongyang/gitlabhq,TheWatcher/gitlabhq,achako/gitlabhq,mavimo/gitlabhq,yama07/gitlabhq,mr-dxdy/gitlabhq,Kambda/mobbr-gitlabhq,stoplightio/gitlabhq,tk23/gitlabhq,lbt/gitlabhq,kotaro-dev/gitlab-6-9,OlegGirko/gitlab-ce,larryli/gitlabhq,youprofit/gitlabhq,jaepyoung/gitlabhq,jvanbaarsen/gitlabhq,julianengel/gitlabhq,yatish27/gitlabhq,k4zzk/gitlabhq,SkyWei/gitlabhq,8thcolor/rubyconfau2015-sadr,Burick/gitlabhq,cui-liqiang/gitlab-ce,zrbsprite/gitlabhq,pkallberg/tjenare,yfaizal/gitlabhq,nmav/gitlabhq,darkrasid/gitlabhq,0x20h/gitlabhq,wangcan2014/gitlabhq,jirutka/gitlabhq,cncodog/gitlab,gorgee/gitlabhq,joalmeid/gitlabhq,fantasywind/gitlabhq,liyakun/gitlabhq,pulkit21/gitlabhq,michaKFromParis/gitlabhq,mr-dxdy/gitlabhq,yuyue2013/ss,it33/gitlabhq,dvrylc/gitlabhq,allysonbarros/gitlabhq,martinma4/gitlabhq,screenpages/gitlabhq,axilleas/gitlabhq,yonglehou/gitlabhq,wangcan2014/gitlabhq,joalmeid/gitlabhq,OlegGirko/gitlab-ce,yuyue2013/ss,bigsurge/gitlabhq,H3Chief/gitlabhq,NARKOZ/gitlabhq,dukex/gitlabhq,mente/gitlabhq,pkgr/gitlabhq,koreamic/gitlabhq,fpgentil/gitlabhq,allistera/gitlabhq,pkallberg/tjenare,theonlydoo/gitlabhq,Exeia/gitlabhq,neiljbrookes/glab,sakishum/gitlabhq,fgbreel/gitlabhq,gopeter/gitlabhq,ayufan/gitlabhq,ferdinandrosario/gitlabhq,louahola/gitlabhq,Telekom-PD/gitlabhq,123Haynes/gitlabhq,ksoichiro/gitlabhq,dplarson/gitlabhq,fantasywind/gitlabhq,williamherry/gitlabhq,ikappas/gitlabhq,daiyu/gitlab-zh,flashbuckets/gitlabhq,darkrasid/gitlabhq,wangcan2014/gitlabhq,tempbottle/gitlabhq,folpindo/gitlabhq,icedwater/gitlabhq,chrrrles/nodeflab,flashbuckets/gitlabhq,aaronsnyder/gitlabhq,allysonbarros/gitlabhq,fscherwi/gitlabhq,rumpelsepp/gitlabhq,folpindo/gitlabhq,nguyen-tien-mulodo/gitlabhq,TheWatcher/gitlabhq,screenpages/gitlabhq,bbodenmiller/gitlabhq,pjknkda/gitlabhq,michaKFromParis/gitlabhqold,lvfeng1130/gitlabhq,nguyen-tien-mulodo/gitlabhq,yulchitaj/TEST3,WSDC-NITWarangal/gitlabhq,Devin001/gitlabhq,michaKFromParis/sparkslab,johnmyqin/gitlabhq,sue445/gitlabhq,stanhu/gitlabhq,chenrui2014/gitlabhq,theonlydoo/gitlabhq,koreamic/gitlabhq,stoplightio/gitlabhq,whluwit/gitlabhq,NuLL3rr0r/gitlabhq,NKMR6194/gitlabhq,tk23/gitlabhq,mmkassem/gitlabhq,Keystion/gitlabhq,ayufan/gitlabhq,shinexiao/gitlabhq,mathstuf/gitlabhq,aaronsnyder/gitlabhq,fearenales/gitlabhq,youprofit/gitlabhq,0x20h/gitlabhq,yonglehou/gitlabhq,WSDC-NITWarangal/gitlabhq,LytayTOUCH/gitlabhq,bozaro/gitlabhq,hacsoc/gitlabhq,aaronsnyder/gitlabhq,dplarson/gitlabhq,salipro4ever/gitlabhq,manfer/gitlabhq,jaepyoung/gitlabhq,LUMC/gitlabhq,martijnvermaat/gitlabhq,pjknkda/gitlabhq,achako/gitlabhq,NKMR6194/gitlabhq,chadyred/gitlabhq,akumetsuv/gitlab,icedwater/gitlabhq,atomaka/gitlabhq,michaKFromParis/gitlabhq,childbamboo/gitlabhq,Keystion/gitlabhq,nguyen-tien-mulodo/gitlabhq,ZeoAlliance/gitlabhq,tempbottle/gitlabhq,fantasywind/gitlabhq,betabot7/gitlabhq,duduribeiro/gitlabhq,childbamboo/gitlabhq,kemenaran/gitlabhq,ordiychen/gitlabhq,luzhongyang/gitlabhq,szechyjs/gitlabhq,fscherwi/gitlabhq,0x20h/gitlabhq,dreampet/gitlab,eliasp/gitlabhq,goeun/myRepo,yulchitaj/TEST3,ArthurHoaro/Public-GitLab,t-zuehlsdorff/gitlabhq,8thcolor/eurucamp2014-htdsadr,htve/GitlabForChinese,Exeia/gitlabhq,gopeter/gitlabhq,tim-hoff/gitlabhq,htve/GitlabForChinese,it33/gitlabhq,NuLL3rr0r/gitlabhq,ayufan/gitlabhq,martijnvermaat/gitlabhq,youprofit/gitlabhq,dwrensha/gitlabhq,eliasp/gitlabhq,jrjang/gitlab-ce,ibiart/gitlabhq,ayufan/gitlabhq,dplarson/gitlabhq,8thcolor/eurucamp2014-htdsadr,LytayTOUCH/gitlabhq,larryli/gitlabhq,SVArago/gitlabhq,k4zzk/gitlabhq,manfer/gitlabhq,axilleas/gitlabhq,Devin001/gitlabhq,allistera/gitlabhq,delkyd/gitlabhq,tk23/gitlabhq,phinfonet/mobbr-gitlabhq,iiet/iiet-git,julianengel/gitlabhq,sideci-sample/sideci-sample-gitlabhq,zBMNForks/gitlabhq,vjustov/gitlabhq,MauriceMohlek/gitlabhq,OtkurBiz/gitlabhq,aaronsnyder/gitlabhq,fendoudeqingchunhh/gitlabhq,vjustov/gitlabhq,jairzh/gitlabhq-sfdc,Burick/gitlabhq,szechyjs/gitlabhq,akumetsuv/gitlab,fendoudeqingchunhh/gitlabhq,ksoichiro/gitlabhq,bozaro/gitlabhq,adaiguoguo/gitlab_globalserarch,Exeia/gitlabhq,revaret/gitlabhq,hzy001/gitlabhq,stellamiranda/mobbr-gitlabhq,martijnvermaat/gitlabhq,jvanbaarsen/gitlabhq,fscherwi/gitlabhq,ikappas/gitlabhq,mathstuf/gitlabhq,fendoudeqingchunhh/gitlabhq,bigsurge/gitlabhq,nmav/gitlabhq,mathstuf/gitlabhq,dyon/gitlab,delkyd/gitlabhq,hq804116393/gitlabhq,ferdinandrosario/gitlabhq,theodi/gitlabhq,pupaxxo/gitlabhq,since2014/gitlabhq,salipro4ever/gitlabhq,NARKOZ/gitlabhq,ZeoAlliance/gitlabhq,cui-liqiang/gitlab-ce,martijnvermaat/gitlabhq