DaanHoogland commented on issue #3973: systemd dependency on db
URL: https://github.com/apache/cloudstack/pull/3973#issuecomment-599942124
 
 
   @rvalle in the case of `Wants`, if the dependency is present it will be 
started before the dependant, and shutdown after. if it is not or if it fails 
to start the dependant is started anyway. (see 
https://github.com/apache/cloudstack/issues/3954#issuecomment-599593507)
   so
   - when it is present on the system it works like requires, and
   - when the user decides to install it on another system it will start anyway 
(but the user is responsible for proper startup and shutdown procedures)
   
   If I interpret the docs correctly we can add the mysql.target with no harm. 
if either is present they will be started. The user must make sure not both are 
present though, to avoid conflict.
   
   I can see how you envision a more elegant solution, but I would opt for next 
release for that, minimising code change during freeze and hastening release. 
If this can be tested and shown to work.... I would prefer to be working on the 
next release by the end of the month ;)

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to