ghidra-server: assert host != null
This commit is contained in:
parent
f0fd21aafa
commit
087f7bcc94
|
@ -53,6 +53,9 @@ in {
|
|||
users.groups."${cfg.group}" = {};
|
||||
|
||||
systemd.services."ghidra-server" =
|
||||
assert assertMsg (cfg.host != null) ''
|
||||
services.ghidra-server.host cannot be null when services.ghidra-server.enable = true
|
||||
'';
|
||||
let
|
||||
ghidra_log4j_config = ./custom.log4j.xml;
|
||||
ghidra_java_opt = "-Dlog4j.configurationFile=${ghidra_log4j_config} -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -Djna.tmpdir=/tmp -Dghidra.tls.server.protocols=TLSv1.2;TLSv1.3 -Ddb.buffers.DataBuffer.compressedOutput=true -Xms396m -Xmx768m";
|
||||
|
|
Loading…
Reference in New Issue