Merge pull request #242036 from jnsgruk/prowlarr-update
This commit is contained in:
commit
c9e26d7d3a
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@ in
|
|||
services.prowlarr = {
|
||||
enable = mkEnableOption (lib.mdDoc "Prowlarr");
|
||||
|
||||
package = mkPackageOptionMD pkgs "prowlarr" { };
|
||||
|
||||
openFirewall = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
|
@ -29,7 +31,7 @@ in
|
|||
Type = "simple";
|
||||
DynamicUser = true;
|
||||
StateDirectory = "prowlarr";
|
||||
ExecStart = "${pkgs.prowlarr}/bin/Prowlarr -nobrowser -data=/var/lib/prowlarr";
|
||||
ExecStart = "${cfg.package}/bin/Prowlarr -nobrowser -data=/var/lib/prowlarr";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue