1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ampache_ynh.git synced 2024-09-03 18:15:55 +02:00

Update install

This commit is contained in:
abeudin 2014-06-21 21:47:33 +02:00
parent 53f66be16b
commit 0a3c1ed87c

View file

@ -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