27 lines
766 B
Desktop File
27 lines
766 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-server.service
|
|
Wants=postgresql.service
|
|
After=redis-server.service postgresql.service
|
|
|
|
[Service]
|
|
User=gitlab
|
|
WorkingDirectory=/usr/share/gitlab
|
|
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
|
SyslogIdentifier=gitlab-unicorn
|
|
PIDFile=/run/gitlab/unicorn.pid
|
|
|
|
ExecStart=/bin/sh bin/web start
|
|
ExecStop=/bin/sh bin/web stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|