Services: downgraded redis-server "Requires" to "Wants".

This allows to disable local Redis in favour of external instance.

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
This commit is contained in:
Dmitry Smirnov 2022-07-01 19:04:55 +10:00
parent 1a1cd418b6
commit 17a7bccde7
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=GitLab Puma Server Description=GitLab Puma Server
PartOf=gitlab.target PartOf=gitlab.target
Requires=redis-server.service Wants=redis-server.service
Wants=postgresql.service Wants=postgresql.service
After=redis-server.service postgresql.service After=redis-server.service postgresql.service
PartOf=gitlab.service PartOf=gitlab.service

View file

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=GitLab Sidekiq Worker Description=GitLab Sidekiq Worker
PartOf=gitlab.target PartOf=gitlab.target
Requires=redis-server.service Wants=redis-server.service
Wants=postgresql.service Wants=postgresql.service
After=redis-server.service postgresql.service After=redis-server.service postgresql.service
PartOf=gitlab.service PartOf=gitlab.service