Merge pull request #243479 from ambroisie/prowlarr-main-program
Prowlarr main program
This commit is contained in:
commit
09aa9c9e53
2 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue