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:
parent
72cc1bb848
commit
c84877015f
1 changed files with 3 additions and 3 deletions
|
@ -79,8 +79,8 @@ ynh_remove_logrotate
|
||||||
# CLOSE A PORT
|
# CLOSE A PORT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Close port in firewall
|
ynh_print_info "Closing port $sync_port"
|
||||||
sudo yunohost firewall disallow TCP $sync_port
|
ynh_exec_warn_less yunohost firewall disallow TCP $sync_port
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
@ -90,7 +90,7 @@ sudo yunohost firewall disallow TCP $sync_port
|
||||||
ynh_print_info "Removing the dedicated system user"
|
ynh_print_info "Removing the dedicated system user"
|
||||||
|
|
||||||
# Delete a system user
|
# Delete a system user
|
||||||
sudo userdel $sync_user
|
ynh_system_user_delete $sync_user
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue