mirror of
https://github.com/YunoHost-Apps/headscale_ynh.git
synced 2024-09-03 19:25:53 +02:00
[autopatch] Do not delete logs on app removal (#8)
Co-authored-by: Yunohost-Bot <> Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
This commit is contained in:
parent
14edf0fc39
commit
cfa3ce81bf
1 changed files with 0 additions and 3 deletions
|
@ -70,9 +70,6 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Removing various files..." --weight=1
|
ynh_script_progression --message="Removing various files..." --weight=1
|
||||||
|
|
||||||
# Remove the log files
|
|
||||||
ynh_secure_remove --file="/var/log/$app"
|
|
||||||
|
|
||||||
# Remove dnsmasq configuration
|
# Remove dnsmasq configuration
|
||||||
ynh_secure_remove --file="/etc/dnsmasq.d/$app"
|
ynh_secure_remove --file="/etc/dnsmasq.d/$app"
|
||||||
ynh_systemd_action --service_name=dnsmasq --action="reload"
|
ynh_systemd_action --service_name=dnsmasq --action="reload"
|
||||||
|
|
Loading…
Reference in a new issue