debian-mirror-gitlab/debian/conf/gitlab-sidekiq.service
Praveen Arimbrathodiyil 56a999065b use tmpfiles.d for /run
2016-02-15 23:15:45 +05:30

28 lines
789 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 Sidekiq Worker
PartOf=gitlab.target
Requires=redis.service
Wants=postgresql.service
After=redis.service postgresql.service
[Service]
Type=forking
User=gitlab
WorkingDirectory=/usr/share/gitlab
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-sidekiq
PIDFile=/run/gitlab/sidekiq.pid
ExecStart=/bin/sh bin/background_jobs start
ExecStop=/bin/sh bin/background_jobs stop
[Install]
WantedBy=multi-user.target