galaxyproject / ansible-galaxy

An Ansible role for managing a Galaxy server
https://galaxy.ansible.com/galaxyproject/galaxy
57 stars 75 forks source link

Systemd: allow to start after multi-user.target #176

Closed abretaud closed 1 year ago

abretaud commented 1 year ago

Hi! A little problem found with the systemd services for 22.05, on an ubuntu 20.04.4: when rebooting, the galaxy and galaxy-reports service fails with user/group stuff (Failed to determine group credentials), probably because the ldap stuff is not yet started when systemd tries to run galaxy. A quick fix is to add After=multi-user.target in the two unit files, I wonder if this fix is valid for any install or if we need a way to make this configurable?

hexylena commented 1 year ago

That makes sense to add by default, let's do that. I don't think it needs to be configurable. A lot of stuff depends on multi-user.

abretaud commented 1 year ago

Cool :+1: , I'm creating a PR