#!/bin/sh
set -e

update-service --add /etc/sv/binlog-to-yt-sync
test -z "$2" || sv -v term binlog-to-yt-sync

#DEBHELPER#
