diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-26 22:33:19 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-26 22:33:19 +0100 |
commit | 2f8686ce1767836793797f97a498c47383bd934a (patch) | |
tree | e7246119c0e2af9939d225495e812eafb0dc194a /nixos/modules/services/video | |
parent | 719483f4a866418d5ef889adbe11553828167ce7 (diff) |
nixos/frigate: restart the service on failure
Closes: #266837
Diffstat (limited to 'nixos/modules/services/video')
-rw-r--r-- | nixos/modules/services/video/frigate.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/video/frigate.nix b/nixos/modules/services/video/frigate.nix index 146e968780c3..b7945282ba09 100644 --- a/nixos/modules/services/video/frigate.nix +++ b/nixos/modules/services/video/frigate.nix @@ -353,6 +353,7 @@ in ]; serviceConfig = { ExecStart = "${cfg.package.python.interpreter} -m frigate"; + Restart = "on-failure"; User = "frigate"; Group = "frigate"; |