updated gitlab-sidekiq.service unit file to correctly start sidekiq with the different queues. hopefully.
This commit is contained in:
		
							parent
							
								
									2c5b8c36d2
								
							
						
					
					
						commit
						3e620e1b97
					
				
					 9 changed files with 45 additions and 14 deletions
				
			
		
							
								
								
									
										30
									
								
								www-apps/gitlabhq/files/gitlab-sidekiq-7.service
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								www-apps/gitlabhq/files/gitlab-sidekiq-7.service
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| # cat /etc/systemd/system/gitlab-sidekiq.service - for personal use | ||||
| # cat /var/lib/systemd/system/gitlab-sidekiq.service - for package devs | ||||
| 
 | ||||
| ##################################################### | ||||
| # | ||||
| # GitLab version    : 5.x - 7.x | ||||
| # Contributors      : davispuh, mtorromeo, axilleas, boeserwolf91, Stefan Tatschner (rumpelsepp) | ||||
| # Downloaded from   : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd | ||||
| # | ||||
| #################################################### | ||||
| 
 | ||||
| [Unit] | ||||
| Description=GitLab Sidekiq Worker | ||||
| Requires=redis.service | ||||
| Wants=mysqld.service postgresql.service | ||||
| After=redis.service mysqld.service postgresql.service | ||||
| 
 | ||||
| [Service] | ||||
| Type=forking | ||||
| User=git | ||||
| WorkingDirectory=/opt/gitlab-6 | ||||
| Environment=RAILS_ENV=production | ||||
| SyslogIdentifier=gitlab-sidekiq | ||||
| PIDFile=/run/gitlab/sidekiq.pid | ||||
| 
 | ||||
| ExecStart=/usr/bin/bundle exec "sidekiq -d -q post_receive -q mailer -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e production -P /run/gitlab/sidekiq.pid -d -L /var/log/gitlab/sidekiq.log >> /var/log/gitlab/sidekiq.log 2>&1" | ||||
| ExecStop=/usr/bin/bundle exec "sidekiqctl stop /run/gitlab/sidekiq.pid >> /var/log/gitlab/sidekiq.log 2>&1" | ||||
| 
 | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue