1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

Update remove

This commit is contained in:
yalh76 2019-04-14 01:24:42 +02:00
parent 72cc1bb848
commit c84877015f

View file

@ -79,8 +79,8 @@ ynh_remove_logrotate
# CLOSE A PORT
#=================================================
# Close port in firewall
sudo yunohost firewall disallow TCP $sync_port
ynh_print_info "Closing port $sync_port"
ynh_exec_warn_less yunohost firewall disallow TCP $sync_port
#=================================================
# GENERIC FINALIZATION
@ -90,7 +90,7 @@ sudo yunohost firewall disallow TCP $sync_port
ynh_print_info "Removing the dedicated system user"
# Delete a system user
sudo userdel $sync_user
ynh_system_user_delete $sync_user
#=================================================
# END OF SCRIPT