1 #####################################################
3 # GitLab version : 5.x - 6.x
4 # Contributors : davispuh, mtorromeo, axilleas, boeserwolf91
5 # Downloaded from : https://github.com/gitlabhq/gitlab-recipes/tree/master/init/systemd
7 ####################################################
10 Description=GitLab Unicorn Server
14 WorkingDirectory=/var/lib/gitlab
15 Environment=RAILS_ENV=production
16 SyslogIdentifier=gitlab-unicorn
17 PIDFile=/var/lib/gitlab/pids/unicorn.pid
19 ExecStart=/var/lib/gitlab/bin/bundle exec "unicorn_rails -c /var/lib/gitlab/config/unicorn.rb -E production"
20 ExecStop=kill -QUIT $MAINPID
21 ExecReload=kill -USR2 $MAINPID
24 WantedBy=gitlab.target