#!/bin/sh

set -e

[ -f /etc/default/fortigate-exporter ] && . /etc/default/fortigate-exporter

if [ "$1" = "remove" ]; then
    if command -v systemctl >/dev/null 2>&1 ; then
        systemctl stop fortigate-exporter.service > /dev/null 2>&1 || :
    fi
fi

#DEBHELPER#
