summarylogtreecommitdiffstats
path: root/gitlab-ci-unicorn.service
blob: 36c80c7700ecccc8283abb91dccf0d8495970447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=GitLab CI Unicorn Server

[Service]
User=gitlab_ci
WorkingDirectory=<DATADIR>
Environment=RAILS_ENV=production
SyslogIdentifier=gitlab-ci-unicorn
PIDFile=/run/gitlab-ci/unicorn.pid

ExecStart=/usr/bin/bundle exec "unicorn_rails -c <DATADIR>/config/unicorn.rb -E production"
ExecStop=/usr/bin/kill -QUIT $MAINPID
ExecReload=/usr/bin/kill -USR2 $MAINPID

[Install]
WantedBy=gitlab-ci.target