]>
Commit | Line | Data |
---|---|---|
edff9e13 ER |
1 | ##################################################### |
2 | # | |
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 | |
6 | # | |
7 | #################################################### | |
8 | ||
9 | [Unit] | |
10 | Description=GitLab Unicorn Server | |
11 | ||
12 | [Service] | |
13 | User=gitlab | |
14 | WorkingDirectory=/var/lib/gitlab | |
15 | Environment=RAILS_ENV=production | |
16 | SyslogIdentifier=gitlab-unicorn | |
17 | PIDFile=/var/lib/gitlab/pids/unicorn.pid | |
18 | ||
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 | |
22 | ||
23 | [Install] | |
24 | WantedBy=gitlab.target |