2e41d2b0a3
* added meta "gitlab.service" that work alike corresponding init.d script * new .service files with support for "reload" and propagation of "reload" from "gitlab.service" * non-forking PIDFILE-less implementation This commit fixes services' start-up and postinst error on first install.
20 lines
496 B
Desktop File
20 lines
496 B
Desktop File
[Unit]
|
|
Description=Gitlab mailroom Worker
|
|
PartOf=gitlab.target
|
|
Requires=gitlab-unicorn.service
|
|
Wants=gitlab-unicorn.service
|
|
After=gitlab-unicorn.service
|
|
PartOf=gitlab.service
|
|
ReloadPropagatedFrom=gitlab-unicorn.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=gitlab
|
|
WorkingDirectory=/usr/share/gitlab
|
|
EnvironmentFile=/etc/gitlab/gitlab-debian.conf
|
|
SyslogIdentifier=gitlab-mailroom
|
|
ExecStart=/usr/bin/bundle exec mail_room -q -c /etc/gitlab/mail_room.yml
|
|
Restart=on-abnormal
|
|
|
|
[Install]
|
|
WantedBy=gitlab.target
|