debian-mirror-gitlab/debian/conf/gitlab-mailroom.service

32 lines
874 B
SYSTEMD
Raw Normal View History

2016-02-04 13:32:45 +05:30
#####################################################
#
# 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
PartOf=gitlab.target
Requires=gitlab-unicorn.service
Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
[Service]
User=gitlab
WorkingDirectory=/usr/share/gitlab
2016-02-15 19:00:37 +05:30
RuntimeDirectory=gitlab
RuntimeDirectoryMode=2750
2016-02-04 13:32:45 +05:30
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-mailroom
2016-02-15 23:03:46 +05:30
PIDFile=/run/gitlab/mail_room.pid
2016-02-04 13:32:45 +05:30
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/share/gitlab/bin/mail_room start
ExecStop=/usr/share/gitlab/bin/mail_room stop
[Install]
WantedBy=multi-user.target