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

24 lines
560 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
2023-03-04 22:38:38 +05:30
Environment=SIDEKIQ_QUEUES=*
ExecStart=/home/git/gitlab/bin/sidekiq-cluster $SIDEKIQ_QUEUES -P /home/git/gitlab/tmp/pids/sidekiq.pid
NotifyAccess=all
2021-12-11 22:18:48 +05:30
PIDFile=/home/git/gitlab/tmp/pids/sidekiq.pid
Restart=on-failure
RestartSec=1
SyslogIdentifier=gitlab-sidekiq
Slice=gitlab.slice
[Install]
WantedBy=gitlab.target