You are not logged in.

#1 2023-09-08 16:42:15

eom.dev
Member
Registered: 2022-02-11
Posts: 57

GitLab lists Redis and PostgreSQL as dependencies

I am installing GitLab on my network as a systemd-nspawn container.  Postgres and Redis run in containers of their own elsewhere on the network; however, GitLab's systemd unit files list Redis and Postgres as dependencies.  I'm using the dummies below to satisfy the requirement, but these applications probably shouldn't be dependencies of GitLab, strictly speaking.

[Unit]
Description=Dummy Service
After=network.target

[Service]
ExecStart=/bin/bash -c "while true; do sleep 1; done"
Restart=always

[Install]
WantedBy=multi-user.target

Offline

#2 2023-09-09 11:46:29

loqs
Member
Registered: 2014-03-06
Posts: 18,968

Re: GitLab lists Redis and PostgreSQL as dependencies

Please post the original unit failures before you added the dummy services.

Offline

Board footer

Powered by FluxBB