From a8fb43be6af717901d8423e0801f6a52fa264e79 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 15 May 2021 13:17:28 +0200 Subject: ma ircbot: restart brockman --- makefu/2configs/systemdultras/ircbot.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/makefu/2configs/systemdultras/ircbot.nix b/makefu/2configs/systemdultras/ircbot.nix index 47709de1e..006cafec0 100644 --- a/makefu/2configs/systemdultras/ircbot.nix +++ b/makefu/2configs/systemdultras/ircbot.nix @@ -1,5 +1,11 @@ -{ +{ pkgs, ... }: { systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG"; + systemd.services.restart-brockman = { + after = [ "brockman.service" ]; + wantedBy = [ "multi-user.target" ]; + startAt = "daily"; + script = "${pkgs.systemd}/bin/systemctl try-restart brockman.service"; + }; krebs.brockman = { enable = true; config = { -- cgit v1.2.3