summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index e917d29..dc3e7e6 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -12,6 +12,10 @@
${inputs.ann.apps.${pkgs.system}."migrate-up".program}
exec ${inputs.ann.apps.${pkgs.system}.ann.default.program}
'';
+ serviceConfig = {
+ Restart = "on-failure";
+ RestartSec = 1;
+ };
wantedBy = [ "multi-user.target" ];
};