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:
parent
8ea38638c6
commit
5509775755
2 changed files with 7 additions and 2 deletions
|
@ -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 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
|
||||
sudo rm -fr /root/.config/mopidy/
|
||||
ip_local=$(echo hostname -I | awk '{ print $1 }')
|
||||
|
|
|
@ -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
|
||||
|
||||
# disallow firewall port
|
||||
sudo yunohost firewall disallow 6600
|
||||
sudo yunohost firewall disallow 6680
|
||||
sudo yunohost firewall disallow TCP 6600
|
||||
sudo yunohost firewall disallow TCP 6680
|
||||
|
||||
# Régénère la configuration de SSOwat
|
||||
sudo yunohost app ssowatconf
|
||||
|
|
Loading…
Add table
Reference in a new issue