#!/bin/sh

{% for shard in shard_vars.keys() %}
if update-service --check "redis-ppc-cache-{{ shard }}"; then
    true
else
    update-service --add "/etc/sv/redis-ppc-cache-{{ shard }}" || true
fi
{% endfor %}
