mirror of
https://github.com/gitlabhq/gitlab-recipes.git
synced 2026-01-09 14:37:57 -05:00
add mailroom service
This commit is contained in:
28
init/systemd/gitlab-mailroom.service
Normal file
28
init/systemd/gitlab-mailroom.service
Normal file
@@ -0,0 +1,28 @@
|
||||
#####################################################
|
||||
#
|
||||
# GitLab version : 8.x - 8.x
|
||||
# Contributors : davispuh, mtorromeo, axilleas, boeserwolf91, Stefan Tatschner (rumpelsepp)
|
||||
# Downloaded from : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
|
||||
#
|
||||
####################################################
|
||||
|
||||
[Unit]
|
||||
Description=Gitlab mailroom Worker
|
||||
Requires=gitlab-unicorn.service
|
||||
Wants=gitlab-unicorn.service
|
||||
After=gitlab-unicorn.service
|
||||
|
||||
[Service]
|
||||
User=git
|
||||
Environment=RAILS_ENV=production
|
||||
WorkingDirectory=/home/git/gitlab
|
||||
SyslogIdentifier=gitlab-mailroom
|
||||
PIDFile=/home/git/gitlab/tmp/pids/gitlab-mailroom.pid
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
||||
ExecStart=/home/git/gitlab/bin/mail_room start
|
||||
ExecStop=/home/git/gitlab/bin/mail_room stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user