PKGBUILDs/community/gitlab/gitlab-mailroom.service

21 lines
512 B
SYSTEMD
Raw Normal View History

2016-12-10 18:01:59 +00:00
[Unit]
Description=Gitlab Mailroom Worker
Requires=gitlab-unicorn.service
Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
[Service]
User=gitlab
Group=gitlab
WorkingDirectory=<DATADIR>
Environment=RAILS_ENV=production PATH=/opt/ruby/bin:/usr/bin
SyslogIdentifier=gitlab-mailroom
PIDFile=/run/gitlab/mailroom.pid
2017-01-16 15:08:47 +00:00
ExecStart=/usr/bin/bundle-2.3 exec mail_room -q -c <DATADIR>/config/mail_room.yml
2016-12-10 18:01:59 +00:00
ExecStop=/usr/bin/kill -QUIT $MAINPID
Restart=on-failure
RestartSec=1
[Install]
WantedBy=multi-user.target