From 15360a1f719c0d12cd6792dbc2a3d8b21dac6800 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Thu, 4 Jul 2019 23:07:39 +0200 Subject: [PATCH] Remove service definition at uninstallation (fixes #35) --- scripts/remove | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 000a7da..50396c9 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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 #=================================================