#!/usr/bin/env bash

isOtelCollectorServiceInstalled()
{
    if [[ -e "/lib/systemd/system/am-otel-collector.service" ]]; then
        # true
        return 0
    else
        # false
        return 1
    fi
}

isDirectoryWatcherServiceInstalled()
{
    if [[ -e "/lib/systemd/system/am-directory-watcher.service" ]]; then
        # true
        return 0
    else
        # false
        return 1
    fi
}