Debian: Added spool directory and set correct permissions.

Fixes #5293
This commit is contained in:
Markus Frosch 2013-12-11 18:26:57 +01:00
parent 90dc637b2c
commit 0975d24a94
2 changed files with 4 additions and 0 deletions

View File

@ -6,3 +6,4 @@ var/log/icinga2
var/log/icinga2/compat/archives
var/spool/icinga2
var/spool/icinga2/perfdata
var/spool/icinga2/tmp

View File

@ -56,7 +56,10 @@ case "$1" in
setperm nagios nagios 0750 /var/lib/icinga2/cluster/log
setperm nagios www-data 0750 /var/cache/icinga2
setperm nagios nagios 0750 /var/spool/icinga2
setperm nagios nagios 0750 /var/spool/icinga2/perfdata
setperm nagios nagios 0750 /var/spool/icinga2/tmp
# enable default features
enable_default_features $@