ghidra-server: assert is unneeded
This commit is contained in:
parent
087f7bcc94
commit
f9d4b26906
|
@ -53,9 +53,6 @@ in {
|
||||||
users.groups."${cfg.group}" = {};
|
users.groups."${cfg.group}" = {};
|
||||||
|
|
||||||
systemd.services."ghidra-server" =
|
systemd.services."ghidra-server" =
|
||||||
assert assertMsg (cfg.host != null) ''
|
|
||||||
services.ghidra-server.host cannot be null when services.ghidra-server.enable = true
|
|
||||||
'';
|
|
||||||
let
|
let
|
||||||
ghidra_log4j_config = ./custom.log4j.xml;
|
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";
|
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