1 WEBDIR="/usr/share/webapps/graylog2"
4 chown -R http $WEBDIR/{tmp,log} > /dev/null 2>&1
5 echo " You can start the web application using the builtin webserver with the following command:"
6 echo " # su -s /bin/sh - http -c \"cd /usr/share/webapps/graylog2/; script/rails server -e production\""
7 echo " or you can use any other method supported by rails (E.g. passenger / thin)"
11 chown -R http $WEBDIR/{tmp,log} > /dev/null 2>&1