1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00

Update remove

This commit is contained in:
ericgaspar 2021-01-17 15:32:35 +01:00
parent e31670fbff
commit 0b82b583e9
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -54,9 +54,7 @@ ynh_remove_app_dependencies
#================================================= #=================================================
ynh_script_progression --message="Removing Coturn main directory..." --weight=2 ynh_script_progression --message="Removing Coturn main directory..." --weight=2
ynh_secure_remove --file=/var/log/$app ynh_secure_remove --file="/etc/turnserver.conf"
ynh_secure_remove --file=/etc/turnserver.conf
mv /etc/turnserver.conf.orig /etc/turnserver.conf mv /etc/turnserver.conf.orig /etc/turnserver.conf
#================================================= #=================================================
@ -77,9 +75,12 @@ ynh_secure_remove --file="/home/yunohost.app/$app"
#================================================= #=================================================
# REMOVE CRON JOB # REMOVE CRON JOB
#================================================= #=================================================
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app" ynh_secure_remove --file="/etc/cron.d/$app"
# Remove the log files
ynh_secure_remove --file="/var/log/$app/"
#================================================= #=================================================
# CLOSE A PORT # CLOSE A PORT
#================================================= #=================================================