updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / graylog2-web-interface / graylog2.install
blob4bf4e4d4448720ae8d9e7c703137d21e575c14d4
1 WEBDIR="/usr/share/webapps/graylog2"
3 post_install() {
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)"
10 post_upgrade() {
11         chown -R http $WEBDIR/{tmp,log} > /dev/null 2>&1