diff options
author | Andreas Baumann | 2023-07-27 09:56:38 +0200 |
---|---|---|
committer | Andreas Baumann | 2023-07-27 09:56:38 +0200 |
commit | 7f75606fae794cac611ef470bf023c02bf2c50eb (patch) | |
tree | dea11e8310f9988f3a4804778ba2da7aafc64a99 | |
parent | 501fa3b61c2c86d82e86e18f451638c321f256e6 (diff) | |
download | aur-7f75606fae794cac611ef470bf023c02bf2c50eb.tar.gz |
added a post_upgrade message for deleting caches
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | thruk.install | 6 |
3 files changed, 10 insertions, 2 deletions
@@ -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 @@ -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" +} |