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:
parent
53f66be16b
commit
0a3c1ed87c
1 changed files with 9 additions and 1 deletions
|
@ -41,7 +41,15 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf*
|
||||||
sed -i "s@ALIASTOCHANGE@$final_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
|
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
|
# Reload Nginx and regenerate SSOwat conf
|
||||||
sudo service nginx reload
|
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
|
sudo yunohost app ssowatconf
|
||||||
|
|
Loading…
Add table
Reference in a new issue