X-Git-Url: https://iankelling.org/git/?p=log-quiet;a=blobdiff_plain;f=sysd-prom-fail-install;fp=sysd-prom-fail-install;h=f25510ef094ce28df9d5cba7e0633bad961aac32;hp=40eb336eab4fcdf4e60c2eabceb941e460c7e3ed;hb=28063c969e568f0342cb5de4d883e391428b299d;hpb=6ea21b6141cab74feb2103f1a7970ae28f83c531 diff --git a/sysd-prom-fail-install b/sysd-prom-fail-install index 40eb336..f25510e 100755 --- a/sysd-prom-fail-install +++ b/sysd-prom-fail-install @@ -16,7 +16,7 @@ # usage: since this is a counter, in prometheus alert manager you will # need to test something like: rate(node_systemd_unit_result_fail_count[30m]) > 0 -source /a/bin/errhandle/err +source /a/bin/bash-bear-trap/bash-bear [[ $EUID == 0 ]] || exec sudo -E "${BASH_SOURCE[0]}" "$@" ser_name=$1