Merge pull request #276977 from mweinelt/frigate-restart-on-failure

nixos/frigate: restart the service on failure
This commit is contained in:
Martin Weinelt 2023-12-26 23:52:41 +01:00 committed by GitHub
commit 4ed0df40ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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