#!/bin/sh if [ ${DISABLE_STATS} -eq 1 ] ; then exit 0 fi if [ ${DISABLE_STATS_HOURLY} -eq 1 ] ; then exit 0 fi echo "# Configuring hourly stats" # stats endpoint ln -s /app/stats_hourly.sh /etc/periodic/hourly/stats