nixos/frigate: restart the service on failure

Closes: #266837
This commit is contained in:
Martin Weinelt 2023-12-26 22:33:19 +01:00
parent 719483f4a8
commit 2f8686ce17
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -353,6 +353,7 @@ in
];
serviceConfig = {
ExecStart = "${cfg.package.python.interpreter} -m frigate";
Restart = "on-failure";
User = "frigate";
Group = "frigate";