• Rafael Monnerat's avatar
    apache-frontend: Delay reload apache configuration · 49e2a2ae
    Rafael Monnerat authored
      Wait for 60 to reload apache configuration in order to accumulate
      several logrotate runs.
      If the amount of slaves are too high, the number of logs are high,
      so the entries on logrotate are also high. So it is enough to DDoS
      with a huge amount of 'kill -1', so delay is the only way to avoid
      to re-implement logrotate existing features.
      Only reload the apache configuration if the the apache configuration
      or the certificates contains a change, else don't reload it.
      Keep a command on bin folder to force reload of configuration in
      case it is required.
apache-graceful-script.sh.in 664 Bytes