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:
parent
e31670fbff
commit
0b82b583e9
1 changed files with 5 additions and 4 deletions
|
@ -54,9 +54,7 @@ ynh_remove_app_dependencies
|
|||
#=================================================
|
||||
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
|
||||
|
||||
#=================================================
|
||||
|
@ -77,9 +75,12 @@ ynh_secure_remove --file="/home/yunohost.app/$app"
|
|||
#=================================================
|
||||
# REMOVE CRON JOB
|
||||
#=================================================
|
||||
|
||||
# Remove a cron file
|
||||
ynh_secure_remove --file="/etc/cron.d/$app"
|
||||
|
||||
# Remove the log files
|
||||
ynh_secure_remove --file="/var/log/$app/"
|
||||
|
||||
#=================================================
|
||||
# CLOSE A PORT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue