We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8757eb5 commit f02763fCopy full SHA for f02763f
content/opt/supervisor/icinga2_supervisor
@@ -2,6 +2,15 @@
2
3
. /opt/helpers
4
5
+if [ ! -e '/var/run/icinga2' ]; then
6
+ mkdir /var/run/icinga2
7
+ mkdir /var/run/icinga2/cmd
8
+ chown nagios:www-data /var/run/icinga2/cmd
9
+ chmod 2710 /var/run/icinga2/cmd
10
+ chown nagios:nagios /var/run/icinga2
11
+ chmod 0755 /var/run/icinga2
12
+fi
13
+
14
service icinga2 foreground &
15
16
# Kickstart is only possible after icinga2 start -> not in setup script
0 commit comments