diff --git a/nixos/modules/services/networking/shairport-sync.nix b/nixos/modules/services/networking/shairport-sync.nix index 43363185469d..1ca83493ecfc 100644 --- a/nixos/modules/services/networking/shairport-sync.nix +++ b/nixos/modules/services/networking/shairport-sync.nix @@ -103,6 +103,7 @@ in User = cfg.user; Group = cfg.group; ExecStart = "${lib.getExe cfg.package} ${cfg.arguments}"; + Restart = "on-failure"; RuntimeDirectory = "shairport-sync"; }; };