#!/bin/sh
set -e

SERVICE_NAME='defguard'

if [ -x /usr/bin/systemctl ]; then
	/usr/bin/systemctl --no-block --quiet stop ${SERVICE_NAME} || true
fi
