uksysadmin / OpenStackInstaller

Simple OpenStack Installer Script
http://www.hybridclouds.co.uk/
69 stars 33 forks source link

Fixed service restarting #3

Closed fmancinelli closed 13 years ago

fmancinelli commented 13 years ago

The previous code didn't restart correctly glance (package name is different from service name) and nova-compute (because at the end of the installation it isn't running)

Now service names are taken directly from /etc/init.d and if a service fails to restart, we try to actually start it.

uksysadmin commented 13 years ago

Yeah - happy at that. I added in Glance without adding in further thought in the script to pick up the new packages.