added support for gitlab-mailroom in the init-scripts / service files. not tested yet.
This commit is contained in:
parent
240133b349
commit
f9232cc23c
4 changed files with 62 additions and 3 deletions
28
www-apps/gitlabhq/files/gitlab-mailroom.service
Normal file
28
www-apps/gitlabhq/files/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=/opt/gitlab
|
||||
SyslogIdentifier=gitlab-mailroom
|
||||
PIDFile=/run/gitlab/gitlab-mailroom.pid
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
||||
ExecStart=/opt/gitlab/bin/mail_room start
|
||||
ExecStop=/opt/gitlab/bin/mail_room stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue