mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
20 lines
508 B
Desktop File
20 lines
508 B
Desktop File
[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
|
|
ExecStart=/usr/bin/bundle exec mail_room -q -c <DATADIR>/config/mail_room.yml
|
|
ExecStop=/usr/bin/kill -QUIT $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|