Merge pull request #243479 from ambroisie/prowlarr-main-program

Prowlarr main program
This commit is contained in:
figsoda 2023-07-14 11:19:56 -04:00 committed by GitHub
commit 09aa9c9e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -31,7 +31,7 @@ in
Type = "simple"; Type = "simple";
DynamicUser = true; DynamicUser = true;
StateDirectory = "prowlarr"; StateDirectory = "prowlarr";
ExecStart = "${cfg.package}/bin/Prowlarr -nobrowser -data=/var/lib/prowlarr"; ExecStart = "${lib.getExe cfg.package} -nobrowser -data=/var/lib/prowlarr";
Restart = "on-failure"; Restart = "on-failure";
}; };
}; };

View file

@ -63,6 +63,7 @@ in stdenv.mkDerivation rec {
changelog = "https://github.com/Prowlarr/Prowlarr/releases/tag/v${version}"; changelog = "https://github.com/Prowlarr/Prowlarr/releases/tag/v${version}";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ jdreaver ]; maintainers = with maintainers; [ jdreaver ];
mainProgram = "Prowlarr";
platforms = [ platforms = [
"aarch64-darwin" "aarch64-darwin"
"aarch64-linux" "aarch64-linux"