debian-mirror-gitlab/debian/conf/gitlab-sidekiq.service

29 lines
803 B
SYSTEMD
Raw Normal View History

2016-02-04 13:32:45 +05:30
#####################################################
#
# 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 Sidekiq Worker
PartOf=gitlab.target
2016-03-18 20:01:24 +05:30
Requires=redis-server.service
2016-02-04 13:32:45 +05:30
Wants=postgresql.service
2016-03-18 20:01:24 +05:30
After=redis-server.service postgresql.service
2016-02-04 13:32:45 +05:30
[Service]
Type=forking
User=gitlab
WorkingDirectory=/usr/share/gitlab
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-sidekiq
2016-02-15 23:03:46 +05:30
PIDFile=/run/gitlab/sidekiq.pid
2016-02-04 13:32:45 +05:30
2016-02-13 18:00:18 +05:30
ExecStart=/bin/sh bin/background_jobs start
ExecStop=/bin/sh bin/background_jobs stop
2016-02-04 13:32:45 +05:30
[Install]
WantedBy=multi-user.target