Add gitlab-puma.service as dependency of gitlab.service
This commit is contained in:
parent
40295f4802
commit
1602088de6
5 changed files with 11 additions and 10 deletions
2
debian/conf/gitlab.target
vendored
2
debian/conf/gitlab.target
vendored
|
@ -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
|
||||
|
|
8
debian/gitlab.gitlab-mailroom.service
vendored
8
debian/gitlab.gitlab-mailroom.service
vendored
|
@ -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
|
||||
|
|
1
debian/gitlab.gitlab-puma.service
vendored
1
debian/gitlab.gitlab-puma.service
vendored
|
@ -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
|
||||
|
|
8
debian/gitlab.gitlab-workhorse.service
vendored
8
debian/gitlab.gitlab-workhorse.service
vendored
|
@ -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
|
||||
|
|
2
debian/gitlab.service
vendored
2
debian/gitlab.service
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue