Created
July 6, 2016 05:05
-
-
Save augustyip/f8a5e463827ce0ca5c533830587b496a to your computer and use it in GitHub Desktop.
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/sh | |
if [ ! $(id -ru) -eq 0 ]; then | |
echo "You must run this as root." | |
exit | |
fi | |
for SERVICE in php5-fpm hhvm nginx varnish mysql memcached | |
do | |
service $SERVICE restart | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment