This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
gitlab-foss/gitlab-mailroom.service

22 lines
527 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Gitlab Mailroom Worker
Requires=gitlab-puma.service
Wants=gitlab-puma.service
After=gitlab-puma.service
StartLimitIntervalSec=100s
[Service]
User=gitlab
Group=gitlab
WorkingDirectory=/usr/share/gitlab
EnvironmentFile=/usr/share/gitlab/environment
SyslogIdentifier=gitlab-mailroom
PIDFile=/run/gitlab/mailroom.pid
ExecStart=/usr/bin/bundle exec mail_room -q -c /usr/share/gitlab/config/mail_room.yml
ExecStop=/usr/bin/kill -QUIT $MAINPID
Restart=on-failure
RestartSec=1
[Install]
WantedBy=multi-user.target