debian-mirror-gitlab/debian/conf/gitlab-mailroom.service
Praveen Arimbrathodiyil 56a999065b use tmpfiles.d for /run
2016-02-15 23:15:45 +05:30

29 lines
824 B
Desktop File

#####################################################
#
# 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
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
SyslogIdentifier=gitlab-mailroom
PIDFile=/run/gitlab/mail_room.pid
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