#!/bin/sh

set -e

if [ -d /run/systemd/system ]; then
    # Skip in favour of systemd timer.
    exit 0
fi

if [ -x /usr/bin/graphite-build-search-index ]; then
	/usr/bin/graphite-build-search-index
fi
