Skip to content

Instantly share code, notes, and snippets.

@mrmoje
Last active December 26, 2015 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrmoje/7120525 to your computer and use it in GitHub Desktop.
Save mrmoje/7120525 to your computer and use it in GitHub Desktop.
Restart *ALL* similarly named services. (such as those that make up openstack, cinder-*,glance-*,nova-*)
#eg for cinder:-
for i in $( ls /etc/init.d/cinder-* | xargs -n 1 basename ); do sudo service $i restart; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment