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:
parent
853d85ffba
commit
729c2caa7b
1 changed files with 9 additions and 9 deletions
|
@ -53,15 +53,6 @@ sudo mv $SYNCHOME $SYNCHOME.old
|
||||||
# sudo rm -rf $SYNCHOME
|
# 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
|
# CLOSE A PORT
|
||||||
|
@ -95,6 +86,15 @@ sudo rm /etc/nginx/conf.d/$domain.d/syncthing.conf
|
||||||
sudo systemctl reload nginx.service
|
sudo systemctl reload nginx.service
|
||||||
sudo yunohost app ssowatconf
|
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
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue