Permalink
Browse files

Varnish is already running at this point

  • Loading branch information...
1 parent 23cecbb commit 416c1a58a42e2af8d2b50834019fdee3796d01af @fagiani committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/varnish.sh
View
@@ -68,7 +68,7 @@ EOF
sed -i "s/:6081/$IP_ADDRESS:80/" /etc/default/varnish
sed -i "s/default.vcl/wordpress.vcl/" /etc/default/varnish
sed -i "s/malloc,256m/file,\/var\/lib\/varnish\/\$INSTANCE\/varnish_storage.bin,1G/" /etc/default/varnish
- /etc/init.d/varnish start
+ /etc/init.d/varnish restart
/etc/init.d/php5-fpm stop
/etc/init.d/php5-fpm start
}

0 comments on commit 416c1a5

Please sign in to comment.