summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/systemdultras/ircbot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/systemdultras/ircbot.nix')
-rw-r--r--makefu/2configs/systemdultras/ircbot.nix8
1 files changed, 7 insertions, 1 deletions
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 = {