debian-mirror-gitlab/debian/conf/gitlab-unicorn.service
Praveen Arimbrathodiyil 3f04a89506 move to conf dir
2016-02-04 14:38:21 +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