diff --git a/scripts/install b/scripts/install index 6c6401f..102f1a4 100644 --- a/scripts/install +++ b/scripts/install @@ -41,7 +41,15 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf* sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf* sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/ampache.conf +# Ampache installation +sudo yunohost app setting ampache skipped_uris -v "/" +echo "127.0.0.1 $domain #yunowordpress" | sudo tee -a /etc/hosts +sleep 1 +curl -kL -X POST http://$domain$path/update.php?action=update +sleep 5 +sudo yunohost app setting ampache skipped_uris -d + # Reload Nginx and regenerate SSOwat conf sudo service nginx reload -#sudo yunohost app setting ampache skipped_uris -v "/rest" +sudo yunohost app setting ampache skipped_uris -v "/rest" sudo yunohost app ssowatconf