You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
438 B
17 lines
438 B
#!/bin/bash
|
|
echo "Setting permissions... /var/www/nZEDb"
|
|
chmod -R 777 /var/www/nZEDb/
|
|
chown -R www-data:www-data /var/www/nZEDb/
|
|
|
|
echo "Setting permissions... /var/lib/mysql"
|
|
chown -R 102:104 /var/lib/mysql
|
|
|
|
echo "Setting permissions... /var/lib/php/sessions"
|
|
chmod -R 777 /var/lib/php/sessions
|
|
|
|
echo "Starting APACHE2 & MySQL Server..."
|
|
/etc/init.d/apache2 start && /etc/init.d/mysql start
|
|
|
|
tail -f /var/log/apache2/error.log
|
|
|
|
exec "$@"
|