Skip to content

Instantly share code, notes, and snippets.

@staybuzz
Created October 22, 2016 10:01
Show Gist options
  • Save staybuzz/5a15538465ae6a0f5e2675a6347b2df4 to your computer and use it in GitHub Desktop.
Save staybuzz/5a15538465ae6a0f5e2675a6347b2df4 to your computer and use it in GitHub Desktop.
引数に与えられた複数のserviceを再起動するやつ
#!/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