summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bgt
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-05-15 13:10:57 +0200
committermakefu <github@syntax-fehler.de>2021-05-15 13:11:38 +0200
commitdb56b51ab4d1cecc0e7e664e51b89f04d360680a (patch)
tree8a7eacb2cec43ecf300f4e1df7af45b0a61f4b72 /makefu/2configs/bgt
parentceaf0a09a2bba72f8db89da6c11e246201165fd3 (diff)
ma social-to-irc: restart brockman
Diffstat (limited to 'makefu/2configs/bgt')
-rw-r--r--makefu/2configs/bgt/social-to-irc.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/makefu/2configs/bgt/social-to-irc.nix b/makefu/2configs/bgt/social-to-irc.nix
index dc975c359..ac4c6cad3 100644
--- a/makefu/2configs/bgt/social-to-irc.nix
+++ b/makefu/2configs/bgt/social-to-irc.nix
@@ -1,10 +1,16 @@
{
- # systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG";
+ 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 = {
channel = "#binaergewitter";
- notifyErrors = false;
+ notifyErrors = false;
irc = {
host = "irc.freenode.net";
port = 6667;