icinga2: /var/cache/icinga2 must be created to start the service.

This commit is contained in:
Juan RP 2016-07-30 07:40:17 +02:00
parent bd86e7ae94
commit 6e0dc3078f
2 changed files with 2 additions and 1 deletions

View file

@ -3,5 +3,6 @@ post)
chown -R icinga:icinga etc/icinga2
install -gicinga -oicinga -d var/log/icinga2
install -gicinga -oicinga -d var/lib/icinga2
install -gicinga -oicinga -d var/cache/icinga2
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'icinga2'
pkgname=icinga2
version=2.4.10
revision=3
revision=4
build_style=cmake
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_RUNDIR=/run -DICINGA2_PLUGINDIR=/usr/lib/monitoring-plugins/"
hostmakedepends="flex git"