Last active
August 29, 2015 14:08
-
-
Save Kami-no/119c5b5a8cb04ab354c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/systemd/system/gitlab-unicorn.service - for personal use | |
# cat /var/lib/systemd/system/gitlab-unicorn.service - for package devs | |
##################################################### | |
# | |
# 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 | |
Requires=redis.service | |
Wants=mysqld.service postgresql.service | |
After=redis.service mysqld.service postgresql.service | |
[Service] | |
User=git | |
WorkingDirectory=/opt/gitlab-6 | |
Environment=RAILS_ENV=production | |
SyslogIdentifier=gitlab-unicorn | |
PIDFile=/run/gitlab/unicorn.pid | |
ExecStart=/usr/bin/bundle exec "unicorn_rails -D -c /opt/gitlab-6/config/unicorn.rb -E production" | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment