mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
Update remove
This commit is contained in:
parent
ee35597ed6
commit
8fe72bb9a8
1 changed files with 7 additions and 1 deletions
|
@ -14,7 +14,7 @@ port=$(ynh_app_setting_get $app port)
|
||||||
REMOVE_DUNITER
|
REMOVE_DUNITER
|
||||||
|
|
||||||
# Remove data and conf
|
# Remove data and conf
|
||||||
rm -rf /root/.conf/duniter
|
rm -rf $USER/.conf/duniter
|
||||||
|
|
||||||
# Remove Duniter service to YunoHost monitoring
|
# Remove Duniter service to YunoHost monitoring
|
||||||
yunohost service remove $app
|
yunohost service remove $app
|
||||||
|
@ -25,3 +25,9 @@ service nginx reload
|
||||||
|
|
||||||
# Close opened port
|
# Close opened port
|
||||||
yunohost firewall disallow TCP $port
|
yunohost firewall disallow TCP $port
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# END OF SCRIPT
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
ynh_script_progression --message="Removal of $app completed" --last
|
||||||
|
|
Loading…
Add table
Reference in a new issue