mirror of
https://github.com/YunoHost-Apps/netdata_ynh.git
synced 2024-09-03 19:46:33 +02:00
Remove service definition at uninstallation (fixes #35)
This commit is contained in:
parent
9421b09f8c
commit
15360a1f71
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,10 @@ ynh_replace_string "rm -I" "rm -f" ${UNINSTALL_SCRIPT}
|
|||
|
||||
# Remove MySQL netdata user
|
||||
ynh_mysql_execute_as_root "drop user 'netdata'@'localhost'; flush privileges;"
|
||||
|
||||
|
||||
# Remove services from YunoHost monitoring
|
||||
yunohost service remove netdata
|
||||
|
||||
#=================================================
|
||||
# REMOVE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue