nixos/mediamtx: restart service on failure (#374588)
Co-authored-by: Masum Reza <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
parent
caffa8c560
commit
337c4cc7b0
@ -66,6 +66,7 @@ in
|
||||
Group = "mediamtx";
|
||||
SupplementaryGroups = lib.mkIf cfg.allowVideoAccess "video";
|
||||
ExecStart = "${cfg.package}/bin/mediamtx /etc/mediamtx.yaml";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user