rvalle commented on issue #3973: systemd dependency on db URL: https://github.com/apache/cloudstack/pull/3973#issuecomment-599654624 @DaanHoogland here are my observations: - Where is that file going to be installed? /lib/systemd ? - How does it work if the user runs mysql on another system, and not where the CS Manager runs? - In my system the targets are called mysql.service are you sure it is mariadb.service? - are you sure you can use Wants instead of Requires? did you check the meaning? I found that different terms imply different types of dependencies. I have checked that Requires works for our case. check https://unix.stackexchange.com/questions/388586/systemd-requires-vs-wants I was thinking on creating a complementary dependency (in /etc/systemd...) from the cloudstack-setup-databases. We could create it once the admin requests a configuration with mysql at localhost. then we know that mysql or mariadb run on the same system Then we could add a switch for cloudstack-setup-databases that disables or forces this configuration.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
