mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-12 16:03:32 +00:00
nixos/shairport-sync: restart the systemd service on failure (#357253)
This commit is contained in:
commit
12c4224d83
@ -103,6 +103,7 @@ in
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
ExecStart = "${lib.getExe cfg.package} ${cfg.arguments}";
|
||||
Restart = "on-failure";
|
||||
RuntimeDirectory = "shairport-sync";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user