mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
REMOVE DEDICATED USER
This commit is contained in:
parent
c7c4e003c4
commit
6e3c8d0e99
1 changed files with 9 additions and 1 deletions
|
@ -52,7 +52,15 @@ sudo apt-get update -qq
|
|||
sudo mv $SYNCHOME $SYNCHOME.old
|
||||
# sudo rm -rf $SYNCHOME
|
||||
|
||||
# Remove syncthing user
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# REMOVE DEDICATED USER
|
||||
#=================================================
|
||||
ynh_print_info "Removing the dedicated system user"
|
||||
|
||||
# Delete a system user
|
||||
sudo userdel $SYNCUSER
|
||||
|
||||
# Close port in firewall
|
||||
|
|
Loading…
Add table
Reference in a new issue