diff options
author | lassulus <lassulus@lassul.us> | 2022-12-13 14:51:58 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-12-13 14:51:58 +0100 |
commit | 248d3f592adbe3f7567c25f8f7efc1045b25e216 (patch) | |
tree | 3f104763aa31b18fdbfc42d37cede13600e5ef94 /krebs/2configs/shack/prometheus/alertmanager-telegram.nix | |
parent | 2ab781fca929451d1c8bc6da1b6caa6c89b7786a (diff) | |
parent | d4281b3dbeb8452844ccb679839ad601b20fe64a (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/2configs/shack/prometheus/alertmanager-telegram.nix')
-rw-r--r-- | krebs/2configs/shack/prometheus/alertmanager-telegram.nix | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/krebs/2configs/shack/prometheus/alertmanager-telegram.nix b/krebs/2configs/shack/prometheus/alertmanager-telegram.nix deleted file mode 100644 index 8527001cb..000000000 --- a/krebs/2configs/shack/prometheus/alertmanager-telegram.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, ...}: -{ - systemd.services.alertmanager-bot-telegram = { - wantedBy = [ "multi-user.target" ]; - after = [ "ip-up.target" ]; - serviceConfig = { - EnvironmentFile = toString <secrets/shack/telegram_bot.env>; - DynamicUser = true; - StateDirectory = "alertbot"; - ExecStart = ''${pkgs.alertmanager-bot-telegram}/bin/alertmanager-bot \ - --alertmanager.url=http://alert.prometheus.shack --log.level=info \ - --store=bolt --bolt.path=/var/lib/alertbot/bot.db \ - --listen.addr="0.0.0.0:16320" \ - --template.paths=${./templates}/shack.tmpl''; - }; - }; -} |