summaryrefslogtreecommitdiff
path: root/chaski
diff options
context:
space:
mode:
authorstuebinm2024-04-03 22:21:27 +0200
committerstuebinm2024-04-03 22:21:27 +0200
commit74b0a75c5b9454de83c96caee506a575286c8beb (patch)
tree5151510f37dd585142cba09c87182ee96e0d8fb0 /chaski
parent63596c996238f292fe05de589c835e2a207eeb9a (diff)
chaski: restart the ntfy bot if failed
Diffstat (limited to 'chaski')
-rw-r--r--chaski/services/conduit.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/chaski/services/conduit.nix b/chaski/services/conduit.nix
index 30d6a0b..e308a7b 100644
--- a/chaski/services/conduit.nix
+++ b/chaski/services/conduit.nix
@@ -34,6 +34,7 @@ in
DynamicUser = true;
BindPaths = botConfig;
EnvironmentFile = "/run/secrets/ntfy-matrix-bot/env";
+ Restart = "always";
};
environment.RUST_LOG = "ntfy_matrix_bot=info";
};