debian-mirror-gitlab/debian/gitlab-unicorn.service
Praveen Arimbrathodiyil 2581dd2c74 add systemd units
2016-02-04 13:32:45 +05:30

26 lines
808 B
Desktop File

#####################################################
#
# 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 Unicorn Server
PartOf=gitlab.target
Requires=redis.service
Wants=postgresql.service
After=redis.service postgresql.service
[Service]
User=gitlab
WorkingDirectory=/usr/share/gitlab
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-unicorn
PIDFile=/usr/share/gitlab/tmp/pids/unicorn.pid
ExecStart=/usr/bin/bundle exec "unicorn_rails -D -c /usr/share/gitlab/config/unicorn.rb -E production"
[Install]
WantedBy=multi-user.target