Add gitlab-puma.service as dependency of gitlab.service

This commit is contained in:
Pirate Praveen 2020-08-20 19:51:56 +05:30
parent 40295f4802
commit 1602088de6
5 changed files with 11 additions and 10 deletions

View file

@ -8,7 +8,7 @@
[Unit]
Description=GitLab Service
Requires=gitlab-unicorn.service gitlab-sidekiq.service gitlab-mailroom.service gitlab-workhorse.service
Requires=gitlab-puma.service gitlab-sidekiq.service gitlab-mailroom.service gitlab-workhorse.service
[Install]
WantedBy=multi-user.target

View file

@ -1,11 +1,11 @@
[Unit]
Description=Gitlab mailroom Worker
PartOf=gitlab.target
Requires=gitlab-unicorn.service
Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
Requires=gitlab-puma.service
Wants=gitlab-puma.service
After=gitlab-puma.service
PartOf=gitlab.service
ReloadPropagatedFrom=gitlab-unicorn.service
ReloadPropagatedFrom=gitlab-puma.service
[Service]
Type=simple

View file

@ -6,6 +6,7 @@ Wants=postgresql.service
After=redis-server.service postgresql.service
PartOf=gitlab.service
ReloadPropagatedFrom=gitlab.service
Conflicts=gitlab-unicorn.service
[Service]
Type=simple

View file

@ -1,11 +1,11 @@
[Unit]
Description=Gitlab Workhorse handles slow HTTP requests for Gitlab.
PartOf=gitlab.target
Requires=gitlab-unicorn.service
Wants=gitlab-unicorn.service
After=gitlab-unicorn.service
Requires=gitlab-puma.service
Wants=gitlab-puma.service
After=gitlab-puma.service
PartOf=gitlab.service
ReloadPropagatedFrom=gitlab-unicorn.service
ReloadPropagatedFrom=gitlab-puma.service
[Service]
Type=simple

View file

@ -1,7 +1,7 @@
[Unit]
Description=GitLab Services
BindsTo=gitlab-puma.service gitlab-sidekiq.service gitlab-mailroom.service gitlab-workhorse.service
After=gitlab-unicorn.service gitlab-sidekiq.service gitlab-mailroom.service gitlab-workhorse.service
After=gitlab-puma.service gitlab-sidekiq.service gitlab-mailroom.service gitlab-workhorse.service
[Service]
Type=idle