Created
October 22, 2016 10:01
-
-
Save staybuzz/5a15538465ae6a0f5e2675a6347b2df4 to your computer and use it in GitHub Desktop.
引数に与えられた複数のserviceを再起動するやつ
This file contains hidden or 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
#!/bin/bash | |
while [ "$1" != "" ] | |
do | |
service $1 restart | |
shift | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment