mirror of https://github.com/Icinga/icinga2.git
parent
beeaf9b6e1
commit
5d93b968fe
|
@ -47,4 +47,7 @@ fi
|
||||||
|
|
||||||
mkdir -p $ICINGA2_RUN_DIR/icinga2/cmd
|
mkdir -p $ICINGA2_RUN_DIR/icinga2/cmd
|
||||||
chown $ICINGA2_USER:$ICINGA2_COMMAND_GROUP $ICINGA2_RUN_DIR/icinga2/cmd
|
chown $ICINGA2_USER:$ICINGA2_COMMAND_GROUP $ICINGA2_RUN_DIR/icinga2/cmd
|
||||||
|
if [ $(which restorecon) ]; then
|
||||||
|
restorecon -R $ICINGA2_RUN_DIR/icinga2/
|
||||||
|
fi
|
||||||
chmod 2750 $ICINGA2_RUN_DIR/icinga2/cmd
|
chmod 2750 $ICINGA2_RUN_DIR/icinga2/cmd
|
||||||
|
|
Loading…
Reference in New Issue