summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Baumann2023-07-27 09:56:38 +0200
committerAndreas Baumann2023-07-27 09:56:38 +0200
commit7f75606fae794cac611ef470bf023c02bf2c50eb (patch)
treedea11e8310f9988f3a4804778ba2da7aafc64a99
parent501fa3b61c2c86d82e86e18f451638c321f256e6 (diff)
downloadaur-7f75606fae794cac611ef470bf023c02bf2c50eb.tar.gz
added a post_upgrade message for deleting caches
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--thruk.install6
3 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54ad98439d22..9453a6b8f4a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = thruk
pkgdesc = Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken
pkgver = 3.08.3
- pkgrel = 1
+ pkgrel = 2
url = http://thruk.org
+ install = thruk.install
arch = any
license = GPL2
depends = perl
diff --git a/PKGBUILD b/PKGBUILD
index 0b1bce6e20e3..79656b7b9dff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=thruk
pkgver=3.08.3
-pkgrel=1
+pkgrel=2
pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
arch=('any')
url="http://thruk.org"
@@ -22,6 +22,7 @@ backup=('etc/thruk/cgi.cfg' 'etc/thruk/htpasswd'
'etc/thruk/thruk_local.conf' 'etc/logrotate.d/thruk-base')
source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)
md5sums=('71fe1ccd1ac1e32e2375339b57bfe7c4')
+install="thruk.install"
build() {
cd $pkgname-$pkgver
diff --git a/thruk.install b/thruk.install
new file mode 100644
index 000000000000..01e6f0141739
--- /dev/null
+++ b/thruk.install
@@ -0,0 +1,6 @@
+post_upgrade() {
+ echo ":: please stop the web server running thruk now and delete the caches with:"
+ echo " rm -rf /var/lib/thruk/*"
+ echo " you also might have to restart lmd with:"
+ echo " thruk -a livecachestop --local"
+}