pandorafms/pandora_console/DEBIAN/postinst

12 lines
404 B
Bash
Executable File

#!/bin/bash
echo Change the user and group to /var/www/pandora_console.
chmod -R u+rwX,g+rX,g-w,o-rwx /var/www/pandora_console
chgrp www-data /var/www/pandora_console -R
chown www-data /var/www/pandora_console -R
echo Restart the apache.
/etc/init.d/apache2 restart
echo "Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it."