rvalle commented on issue #3954: Cloudstack Management Improper shutdown
URL: https://github.com/apache/cloudstack/issues/3954#issuecomment-597565642
 
 
   For option 2, in case you need to supplement your existing system with an 
additional dependency just:
   - create the directory: 
**/etc/systemd/system/cloudstack-management.service.d**
   - create a configuration file, such as **mysq-dep.conf** for that particular 
dependency in that directory, with the following content:
   ```
   [Unit]
   Requires=mysql.service
   After=mysql.service
   ```
   - then you need to reload systemd configuration with **systemctl 
daemon-reload**
   - test that the dependency is working: for stopping mysql will stop your 
cloudstack management service first.
   - Similar files can be created to add other dependencies: ldap, nginx, etc. 
depending on your setup.
   
   
   

----------------------------------------------------------------
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

Reply via email to