Submitted by august on Wed, 08/02/2017 - 10:58 #!/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 Tags nginx hhvm varnish mysql memcached php5-fpm Add new comment Your name Subject Comment About text formats Plain text No HTML tags allowed. Lines and paragraphs break automatically. Web page addresses and email addresses turn into links automatically.