fritteli / gentoo-overlay

https://gittr.ch/linux/gentoo-overlay
GNU General Public License v2.0
24 stars 7 forks source link

systemd support #1

Closed Kami-no closed 9 years ago

Kami-no commented 9 years ago

Having fun with systemd. To support systemd you need .service files for sidekiq and unicorn. Also you need to make /run/gitlab directory. Everything required you can find below.

Modified original version from here - https://github.com/gitlabhq/gitlab-recipes/tree/master/init/systemd

https://gist.github.com/Kami-no/119c5b5a8cb04ab354c1 https://gist.github.com/Kami-no/00eb27f907966d3a149e https://gist.github.com/Kami-no/8e1c33fbe5e348d36230

fritteli commented 9 years ago

Okay, I'm gonna look into that when I find the time (perhaps this week end). I'm not sure if I'll be able to test it, but you will be able to do that for me :)

Kami-no commented 9 years ago

All you need is to place these files to right places (all inside in comments). I'm using it now.

fritteli commented 9 years ago

I've added an ebuild for gitlabnhq-7.5.1 that supports the "systemd" USE flag. If this flag is set, the three files you mentioned are installed. I havent's tested this ebuild on my own box since I'm not using systemd. So I'd really appreciate it if you could try it out and tell me if there's any problem. Thanks!