#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/yandex-du-prometheus" ] || [ -e "/etc/init/yandex-du-prometheus.conf" ]; then
	if [ ! -e "/etc/init/yandex-du-prometheus.conf" ]; then
		update-rc.d yandex-du-prometheus defaults >/dev/null
	fi
	invoke-rc.d yandex-du-prometheus start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f yandex-du-prometheus remove >/dev/null || exit $?
# End automatically added section
