debian-mirror-gitlab/lib/support/systemd/gitlab-sidekiq.service

24 lines
623 B
SYSTEMD
Raw Normal View History

2021-12-11 22:18:48 +05:30
[Unit]
Description=GitLab Sidekiq
ReloadPropagatedFrom=gitlab.target
PartOf=gitlab.target
After=network.target
JoinsNamespaceOf=gitlab-puma.service
[Service]
2022-07-16 23:28:13 +05:30
Type=notify
2021-12-11 22:18:48 +05:30
User=git
WorkingDirectory=/home/git/gitlab
Environment=RAILS_ENV=production
ExecStart=/usr/local/bin/bundle exec sidekiq --config /home/git/gitlab/config/sidekiq_queues.yml --environment production
ExecStop=/usr/local/bin/bundle exec sidekiqctl stop /run/gitlab/sidekiq.pid
PIDFile=/home/git/gitlab/tmp/pids/sidekiq.pid
Restart=on-failure
RestartSec=1
SyslogIdentifier=gitlab-sidekiq
Slice=gitlab.slice
2022-07-16 23:28:13 +05:30
WatchdogSec=10
2021-12-11 22:18:48 +05:30
[Install]
WantedBy=gitlab.target