summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2017-07-27 14:17:41 +0000
committerLennart Weller <lhw@ring0.de>2017-07-27 14:33:31 +0000
commitcdb334f86e4f550af6f4a242c2e704f03a023c49 (patch)
tree8803f72eb14a9be289f7a1d98874c57c243215c0
parentfix the sysvinit start/stop issue (diff)
downloadnetdata-cdb334f86e4f550af6f4a242c2e704f03a023c49.tar.xz
netdata-cdb334f86e4f550af6f4a242c2e704f03a023c49.zip
remove obsolete config files if user so chooses
-rw-r--r--debian/changelog1
-rw-r--r--debian/netdata.maintscript2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index aa7e3cbd..bd7aad07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ netdata (1.7.0+dfsg-1) UNRELEASED; urgency=medium
* New upstream release (Closes: #868662)
* Rudimentary solution to the sysvinit conundrum (Closes: #861713)
+ * Remove old config files from <1.6.0 with maintscript (Closes: #869200)
-- Lennart Weller <lhw@ring0.de> Thu, 27 Jul 2017 11:57:13 +0200
diff --git a/debian/netdata.maintscript b/debian/netdata.maintscript
new file mode 100644
index 00000000..b1d95f3d
--- /dev/null
+++ b/debian/netdata.maintscript
@@ -0,0 +1,2 @@
+rm_conffile /etc/netdata/python.d/nginx_log.conf 1.5.0~ netdata
+rm_conffile /etc/netdata/python.d/gunicorn_log.conf 1.5.0~ netdata