This unit is provided by:
Options
-
[Install]
-
[Service]
-
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
-
EnvironmentFile=/usr/share/webapps/gitlab/environment
-
ExecStart=/usr/bin/bundle exec sidekiq -C /etc/gitlab/sidekiq_queues.yml -e $RAILS_ENV
-
ExecStart=/usr/bin/bundle-2.7 exec sidekiq -C /usr/share/webapps/gitlab/config/sidekiq_queues.yml -e production
-
ExecStartPost=-/bin/sh -c "for i in 4 4 4 4 4 4 4 4; do sleep $i; (ps -h -o command -p $MAINPID | grep -q -P \"sidekiq\s\d\.\d\.\d\") && exit 0; done"
-
ExecStop=/usr/bin/bundle-2.7 exec sidekiqctl stop /run/gitlab/sidekiq.pid
-
Group=gitlab
-
PIDFile=/run/gitlab/sidekiq.pid
-
PrivateTmp=yes
-
ProtectHome
Introduced in systemd 214=yes -
ProtectSystem
Introduced in systemd 214=full -
Restart=on-abnormal
-
Restart=on-failure
-
RestartSec=1
-
SyslogIdentifier=gitlab-sidekiq
-
Type=simple
-
User=gitlab
-
WorkingDirectory=/usr/share/gitlab
-
WorkingDirectory=/usr/share/webapps/gitlab
-
-
[Unit]
-
After=redis-server.service postgresql.service
-
After=redis.service postgresql.service network.target gitlab-puma.service
-
Description=GitLab Sidekiq Worker
-
JoinsNamespaceOf=gitlab-puma.service
-
PartOf=gitlab.target gitlab.service
-
ReloadPropagatedFrom=gitlab.service
-
Requires=redis-server.service
-
Requires=redis.service gitlab-puma.service
-
StartLimitIntervalSec=100s
-
Wants=postgresql.service
-
Additionnal notes
Nothing here.