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
cd191a22c5
commit
4babf3c956
1 changed files with 8 additions and 5 deletions
|
@ -41,15 +41,18 @@ 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
|
||||
|
||||
|
||||
# Reload Nginx and regenerate SSOwat conf
|
||||
sudo service nginx reload
|
||||
sudo yunohost app ssowatconf
|
||||
|
||||
# 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 -d
|
||||
sudo yunohost app setting ampache skipped_uris -v "/rest"
|
||||
sudo yunohost app ssowatconf
|
||||
sudo sed -i '/yunowordpress/d' /etc/hosts
|
||||
|
|
Loading…
Add table
Reference in a new issue