nixos/shairport-sync: restart the systemd service on failure (#357253)

This commit is contained in:
Alexander Sieg 2024-12-02 11:52:31 +01:00 committed by GitHub
commit 12c4224d83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,6 +103,7 @@ in
User = cfg.user;
Group = cfg.group;
ExecStart = "${lib.getExe cfg.package} ${cfg.arguments}";
Restart = "on-failure";
RuntimeDirectory = "shairport-sync";
};
};