diff options
-rw-r--r-- | debian/TODO.Debian | 2 | ||||
-rw-r--r-- | debian/netdata.postrm | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/debian/TODO.Debian b/debian/TODO.Debian index e32c99e8e..188a440ad 100644 --- a/debian/TODO.Debian +++ b/debian/TODO.Debian @@ -2,8 +2,6 @@ * bootstrap, raphael, jquery + some jquery plugins exist. * Create additional or keep them in mind for future linking * Restrict security permissions in netdata.service -* Do cleanup when apt-get purge is run - * delete user, /var/cache/netdata, /var/log/netdata * Move arch-indep data to -data package * Move interpreter specific plugins to additional packages. e.g. -plugins-nodejs * No massive dependency tree for the simple netdata version diff --git a/debian/netdata.postrm b/debian/netdata.postrm index 7ac581d87..1e4677f86 100644 --- a/debian/netdata.postrm +++ b/debian/netdata.postrm @@ -12,6 +12,7 @@ case "$1" in dpkg-statoverride --remove "$dir_name" fi done + rm -rf /var/cache/netdata /var/log/netdata if getent passwd netdata >/dev/null; then deluser --quiet --system netdata || echo "Unable to remove netdata user" |