Kolla provides production-ready containers and deployment tools for operating OpenStack clouds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

extend_start.sh 433B

123456789101112131415
  1. #!/bin/bash
  2. # Create log directory, with appropriate permissions
  3. MONASCA_LOG_DIR="/var/log/kolla/monasca"
  4. if [[ ! -d "$MONASCA_LOG_DIR" ]]; then
  5. mkdir -p $MONASCA_LOG_DIR
  6. fi
  7. if [[ $(stat -c %U:%G ${MONASCA_LOG_DIR}) != "monasca:kolla" ]]; then
  8. chown monasca:kolla ${MONASCA_LOG_DIR}
  9. fi
  10. if [[ $(stat -c %a ${MONASCA_LOG_DIR}) != "755" ]]; then
  11. chmod 755 ${MONASCA_LOG_DIR}
  12. fi
  13. . /usr/local/bin/kolla_monasca_extend_start