1
0
Fork 0
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:
Jimmy Monin 2019-07-04 23:07:39 +02:00
parent 9421b09f8c
commit 15360a1f71

View file

@ -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
#=================================================