Difference between revisions of "Talk:Gitlab"

From ArchWiki
Jump to: navigation, search
m (unicorn replaced by puma)
Line 5: Line 5:
 
== unicorn replaced by puma ==
 
== unicorn replaced by puma ==
 
I noticed today that for 5.2 puma replaced unicorn. On the same matter, I had to update my systemd file since puma is forking and not simple. Should I edit the Wiki for the new version? Also it seems not everything is up2date yet in this article. Can I help somewhere? [[User:Javex|Javex]] ([[User talk:Javex|talk]]) 20:53, 22 May 2013 (UTC)
 
I noticed today that for 5.2 puma replaced unicorn. On the same matter, I had to update my systemd file since puma is forking and not simple. Should I edit the Wiki for the new version? Also it seems not everything is up2date yet in this article. Can I help somewhere? [[User:Javex|Javex]] ([[User talk:Javex|talk]]) 20:53, 22 May 2013 (UTC)
: Actually unicorn is replaced by puma since 5.1. I haven't edited the whole article yet I reached till the web server configuration. If you think you can help then by all means do it! Can you share your systemd files as well? Here is what I got so far, but sidekiq is timing out. They are probably missing the {{ic|Requires}} and {{ic|After}} attributes since redis must be running for sidekiq to work.
+
: Actually unicorn is replaced by puma since 5.1. I haven't edited the whole article yet, I reached till the web server configuration. If you think you can help then by all means do it! Can you share your systemd files as well? Here is what I got so far, but sidekiq is timing out. They are probably missing the {{ic|Requires}} and {{ic|After}} attributes since redis must be running for sidekiq to work.
  
 
{{hc|gitlab-puma.service|<nowiki>
 
{{hc|gitlab-puma.service|<nowiki>

Revision as of 06:18, 23 May 2013

Out of date

Note: these instructions are for the older version of gitlab. Use of resque is depricated. These instruction should be updated. I'm not sure how to get the new initscripts working on arch though.. 00:58, 14 February 2013‎ Archguy

Yeap! I'm aware of the new changes. Also 5.0 is coming and gitlab will no longer need gitolite. The whole article needs an update. As for initscripts, if you take a look at the issue tracker there are systemd files provided. I will clean it up when 5.0 comes out. Also Archguy, please remember to sign your posts by typing four tildes (~~~~) at the end. --Maevius (talk) 05:58, 14 February 2013 (UTC)

unicorn replaced by puma

I noticed today that for 5.2 puma replaced unicorn. On the same matter, I had to update my systemd file since puma is forking and not simple. Should I edit the Wiki for the new version? Also it seems not everything is up2date yet in this article. Can I help somewhere? Javex (talk) 20:53, 22 May 2013 (UTC)

Actually unicorn is replaced by puma since 5.1. I haven't edited the whole article yet, I reached till the web server configuration. If you think you can help then by all means do it! Can you share your systemd files as well? Here is what I got so far, but sidekiq is timing out. They are probably missing the Requires and After attributes since redis must be running for sidekiq to work.
gitlab-puma.service

[Unit]
Description=GitLab Puma Server

[Service]
User=git
WorkingDirectory=/home/git/gitlab
Environment=RAILS_ENV=production
ExecStart=/usr/bin/bundle exec "puma -C /home/git/gitlab/config/puma.rb -e production"
SyslogIdentifier=gitlab-puma
Type=forking
PIDFile=/home/git/gitlab/tmp/pids/puma.pid

[Install]
WantedBy=gitlab.target

gitlab-sidekiq.service
[Unit]
Description=GitLab Sidekiq Server

[Service]
User=git
WorkingDirectory=/home/git/gitlab
Environment=RAILS_ENV=production
ExecStart=/usr/bin/bundle exec "sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e production -P /home/git/gitlab/tmp/pids/sidekiq.pid"
SyslogIdentifier=gitlab-sidekiq
Type=forking
PIDFile=/home/git/gitlab/tmp/pids/sidekiq.pid

[Install]
WantedBy=gitlab.target

--Maevius (talk) 06:17, 23 May 2013 (UTC)