fix: Add JAVA_HOME to invtracker

fixes #111
This commit is contained in:
Charlotte 🦝 Delenk 2022-08-14 20:21:27 +01:00
parent 4013b313d0
commit 81b28cb9e4
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -20,6 +20,9 @@
Restart = "always"; Restart = "always";
}; };
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
environment = {
JAVA_HOME = "${pkgs.openjdk_headless}";
};
}; };
services.nginx.virtualHosts."invtracker.chir.rs" = { services.nginx.virtualHosts."invtracker.chir.rs" = {
sslCertificate = "/var/lib/acme/chir.rs/cert.pem"; sslCertificate = "/var/lib/acme/chir.rs/cert.pem";