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

reorder REMOVE DEDICATED USER

This commit is contained in:
yalh76 2019-04-13 17:26:02 +02:00
parent 853d85ffba
commit 729c2caa7b

View file

@ -53,15 +53,6 @@ sudo mv $SYNCHOME $SYNCHOME.old
# sudo rm -rf $SYNCHOME
#=================================================
# GENERIC FINALIZATION
#=================================================
# REMOVE DEDICATED USER
#=================================================
ynh_print_info "Removing the dedicated system user"
# Delete a system user
sudo userdel $SYNCUSER
#=================================================
# CLOSE A PORT
@ -95,6 +86,15 @@ sudo rm /etc/nginx/conf.d/$domain.d/syncthing.conf
sudo systemctl reload nginx.service
sudo yunohost app ssowatconf
#=================================================
# GENERIC FINALIZATION
#=================================================
# REMOVE DEDICATED USER
#=================================================
ynh_print_info "Removing the dedicated system user"
# Delete a system user
sudo userdel $SYNCUSER
#=================================================
# END OF SCRIPT