Created
May 28, 2014 14:25
-
-
Save mrmoje/0d71a90089c5f1c4de2e to your computer and use it in GitHub Desktop.
multi service restart loop with upstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#e.g for #OpenStack nova | |
for i in $( ls /etc/init/nova* | xargs -n 1 basename | sed 's/.conf//g' ); do sudo service $i restart; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment