mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
SECURE_REMOVE c'est mieux
This commit is contained in:
parent
e1acfd3287
commit
c16fcc599f
1 changed files with 10 additions and 11 deletions
|
@ -19,22 +19,21 @@ sudo pip uninstall mopidy_musicbox_webclient
|
||||||
sleep 4
|
sleep 4
|
||||||
|
|
||||||
# Delete stupid file
|
# Delete stupid file
|
||||||
# sudo rm -fr /root/.config/mopidy
|
# SECURE_REMOVE '/root/.config/mopidy'
|
||||||
# sudo rm -fr /root/.cache/mopidy
|
# SECURE_REMOVE '/root/.cache/mopidy'
|
||||||
# sudo rm -fr /root/.local/share/mopidy
|
# SECURE_REMOVE '/root/.local/share/mopidy'
|
||||||
sudo rm -fr /usr/local/bin/mopidy
|
SECURE_REMOVE '/usr/local/bin/mopidy'
|
||||||
sudo rm -fr /usr/share/mopidy
|
SECURE_REMOVE '/usr/share/mopidy'
|
||||||
sudo rm -fr /var/lib/mopidy
|
SECURE_REMOVE '/var/lib/mopidy'
|
||||||
sudo rm -fr /etc/apt/sources.list.d/mopidy.list
|
SECURE_REMOVE '/etc/apt/sources.list.d/mopidy.list'
|
||||||
sudo rm -fr /usr/local/lib/python2.7/dist-packages/Mopidy_MusicBox_Webclient-2.3.0-py2.7.egg
|
SECURE_REMOVE '/usr/local/lib/python2.7/dist-packages/Mopidy_MusicBox_Webclient-2.3.0-py2.7.egg'
|
||||||
sudo rm -fr /tmp/mopidy-musicbox-webclient
|
SECURE_REMOVE '/tmp/mopidy-musicbox-webclient'
|
||||||
|
SECURE_REMOVE '/var/www/$app'
|
||||||
|
|
||||||
# disallow firewall port
|
# disallow firewall port
|
||||||
sudo yunohost firewall disallow TCP 6600
|
sudo yunohost firewall disallow TCP 6600
|
||||||
sudo yunohost firewall disallow TCP 6680
|
sudo yunohost firewall disallow TCP 6680
|
||||||
|
|
||||||
SECURE_REMOVE '/var/www/$app' # Suppression du dossier de l'application
|
|
||||||
|
|
||||||
REMOVE_NGINX_CONF # Suppression de la configuration nginx
|
REMOVE_NGINX_CONF # Suppression de la configuration nginx
|
||||||
|
|
||||||
# Régénère la configuration de SSOwat
|
# Régénère la configuration de SSOwat
|
||||||
|
|
Loading…
Add table
Reference in a new issue