1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

On supprime les fichiers et répertoires créer par mopidy car pas besoin + modifications des régles du FW incorrectes

This commit is contained in:
magikcypress 2017-03-07 17:48:07 +01:00
parent 8ea38638c6
commit 5509775755
2 changed files with 7 additions and 2 deletions

View file

@ -48,6 +48,11 @@ sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/jessi
sudo apt-get update sudo apt-get update
sudo apt-get install -y mopidy sudo apt-get install -y mopidy
# Delete directory and file
sudo rm -fr /root/.cache/mopidy
sudo rm -fr /root/.config/mopidy
sudo rm -fr /root/.local/share/mopidy
# Copy configuration # Copy configuration
sudo rm -fr /root/.config/mopidy/ sudo rm -fr /root/.config/mopidy/
ip_local=$(echo hostname -I | awk '{ print $1 }') ip_local=$(echo hostname -I | awk '{ print $1 }')

View file

@ -29,8 +29,8 @@ sudo rm -fr /root/.local/share/mopidy
sudo rm -fr /usr/local/lib/python2.7/dist-packages/Mopidy_MusicBox_Webclient-2.3.0-py2.7.egg sudo rm -fr /usr/local/lib/python2.7/dist-packages/Mopidy_MusicBox_Webclient-2.3.0-py2.7.egg
# disallow firewall port # disallow firewall port
sudo yunohost firewall disallow 6600 sudo yunohost firewall disallow TCP 6600
sudo yunohost firewall disallow 6680 sudo yunohost firewall disallow TCP 6680
# Régénère la configuration de SSOwat # Régénère la configuration de SSOwat
sudo yunohost app ssowatconf sudo yunohost app ssowatconf