fix ghidra-server statedirectory
This commit is contained in:
parent
c9ad12be20
commit
0fbe08a251
|
@ -77,9 +77,10 @@ the server hostname or IP; this is typically required (by java RMI) for correct
|
||||||
|
|
||||||
the server will use 3 consecutive TCP ports starting from this port
|
the server will use 3 consecutive TCP ports starting from this port
|
||||||
|
|
||||||
#### services.ghidra-server.directory (`/var/lib/ghidra-server`)
|
#### services.ghidra-server.directory (`ghidra-server`)
|
||||||
|
|
||||||
the root directory for server files
|
the root directory for server files, as a subdirectory of `/var/lib`. this is needed because this
|
||||||
|
option is passed to systemd `StateDirectory=`
|
||||||
|
|
||||||
#### services.ghidra-server.{user,group} (`ghidra`)
|
#### services.ghidra-server.{user,group} (`ghidra`)
|
||||||
|
|
||||||
|
@ -95,6 +96,10 @@ the service user and group
|
||||||
a variant of ghidra built with a headless openjdk, intended to reduce closure size for server
|
a variant of ghidra built with a headless openjdk, intended to reduce closure size for server
|
||||||
operation
|
operation
|
||||||
|
|
||||||
|
### `ocamlPackages.xlog`
|
||||||
|
|
||||||
|
logging for cats, in ocaml: <https://git.lain.faith/haskal/xlog>
|
||||||
|
|
||||||
## lib documentation
|
## lib documentation
|
||||||
|
|
||||||
### `fetchFromSteam`
|
### `fetchFromSteam`
|
||||||
|
|
|
@ -24,8 +24,10 @@ in {
|
||||||
type = types.port;
|
type = types.port;
|
||||||
};
|
};
|
||||||
directory = mkOption {
|
directory = mkOption {
|
||||||
default = "/var/lib/ghidra-server";
|
default = "ghidra-server";
|
||||||
description = "Directory for Ghidra server data.";
|
description = ''
|
||||||
|
Directory for Ghidra server data, under `/var/lib` (for systemd `StateDirectory`)
|
||||||
|
'';
|
||||||
type = types.str;
|
type = types.str;
|
||||||
};
|
};
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
|
|
Loading…
Reference in New Issue