From: Gunnar Beutner Date: Sun, 13 Apr 2014 08:00:00 +0000 (+0200) Subject: Update directories for the Debian package. X-Git-Tag: v0.0.10~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4b9cf33cc6a1b78a707a6fd207c8c3b8b0e5f1d;p=icinga2 Update directories for the Debian package. Refs #6002 --- diff --git a/debian/icinga2-common.dirs b/debian/icinga2-common.dirs index 60027ed83..2d513c4c2 100644 --- a/debian/icinga2-common.dirs +++ b/debian/icinga2-common.dirs @@ -1,5 +1,6 @@ var/cache/icinga2 var/lib/icinga2 +var/lib/icinga2/agent/inventory var/lib/icinga2/cluster/config var/lib/icinga2/cluster/log var/log/icinga2 diff --git a/debian/icinga2-common.postinst b/debian/icinga2-common.postinst index 0be77b9d5..ca72348a4 100644 --- a/debian/icinga2-common.postinst +++ b/debian/icinga2-common.postinst @@ -51,6 +51,8 @@ case "$1" in setperm nagios adm 2755 /var/log/icinga2/compat/archives setperm nagios nagios 0750 /var/lib/icinga2 + setperm nagios nagios 0750 /var/lib/icinga2/agent + setperm nagios nagios 0750 /var/lib/icinga2/agent/inventory setperm nagios nagios 0750 /var/lib/icinga2/cluster setperm nagios nagios 0750 /var/lib/icinga2/cluster/config setperm nagios nagios 0750 /var/lib/icinga2/cluster/log