[Unit] Description=GitLab Sidekiq Worker Requires=redis.service Requires=gitlab-@WEBSERVER@.service Wants=postgresql-12.service After=redis.service After=postgresql-12.service After=network.target After=gitlab-@WEBSERVER@.service PartOf=gitlab.target ConditionPathExists=@TMP_DIR@ [Service] Type=exec User=git WorkingDirectory=@GITLAB@ Environment=processes_args="* * * * *" Environment=RAILS_ENV=production Environment=SIDEKIQ_MEMORY_KILLER_MAX_RSS=2000000 SyslogIdentifier=gitlab-sidekiq ExecStart=@GITLAB@/bin/sidekiq-cluster "$processes_args" -e ${RAILS_ENV} RestartSec=1 Restart=on-success