aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-12-04 20:05:10 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-12-04 20:05:10 -0500
commit533f829c87c41af1cd3b408a710880fcd7442a64 (patch)
tree4c1f4c41cb33d7bff59a12549144a987661a9a67 /scripts/hostclass
parent36d5ac5f6360d46a2d3cfedbd46df3b9f1dd6272 (diff)
downloadinfrastructure-533f829c87c41af1cd3b408a710880fcd7442a64.tar.gz
misc fixes
Diffstat (limited to 'scripts/hostclass')
-rw-r--r--scripts/hostclass/icinga_server/10-icingadb2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/hostclass/icinga_server/10-icingadb b/scripts/hostclass/icinga_server/10-icingadb
index 624ae58..e6084c6 100644
--- a/scripts/hostclass/icinga_server/10-icingadb
+++ b/scripts/hostclass/icinga_server/10-icingadb
@@ -77,5 +77,7 @@ sysrc -v \
redis_enable=YES \
icingadb_enable=YES
+install_directory -m 0755 -o "$icinga_local_user" -g "$icinga_local_user" /var/log/icinga2
+
service redis restart
service icingadb restart > /dev/null 2>&1