fix: jvm opts
This commit is contained in:
parent
6c9e0efa78
commit
4fba0fb765
2 changed files with 26 additions and 25 deletions
|
|
@ -84,6 +84,7 @@ in {
|
||||||
jvmMaxAllocation = "42G";
|
jvmMaxAllocation = "42G";
|
||||||
jvmInitialAllocation = "2G";
|
jvmInitialAllocation = "2G";
|
||||||
jvmPackage = pkgs.temurin-bin-17;
|
jvmPackage = pkgs.temurin-bin-17;
|
||||||
|
jvmOpts = jvmOpts;
|
||||||
|
|
||||||
rsyncSSHKeys = key;
|
rsyncSSHKeys = key;
|
||||||
|
|
||||||
|
|
@ -101,9 +102,10 @@ in {
|
||||||
|
|
||||||
sf3 = {
|
sf3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
jvmMaxAllocation = "42G";
|
jvmMaxAllocation = "24G";
|
||||||
jvmInitialAllocation = "2G";
|
jvmInitialAllocation = "2G";
|
||||||
jvmPackage = pkgs.openjdk8-bootstrap;
|
jvmPackage = pkgs.openjdk8-bootstrap;
|
||||||
|
jvmOpts = jvmOpts;
|
||||||
|
|
||||||
rsyncSSHKeys = key;
|
rsyncSSHKeys = key;
|
||||||
|
|
||||||
|
|
@ -134,7 +136,6 @@ in {
|
||||||
enable = false;
|
enable = false;
|
||||||
wantedBy = ["timers.target"];
|
wantedBy = ["timers.target"];
|
||||||
after = ["mc-aged.service"];
|
after = ["mc-aged.service"];
|
||||||
jvmOpts = jvmOpts;
|
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
#OnCalendar = "hourly"; # Change this as needed
|
#OnCalendar = "hourly"; # Change this as needed
|
||||||
OnCalendar = "*:0/15"; # Every 15 minutes
|
OnCalendar = "*:0/15"; # Every 15 minutes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue