We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42c41cd commit 3f2ff79Copy full SHA for 3f2ff79
nixos-modules/valheim.nix
@@ -75,13 +75,16 @@ in {
75
logFile = lib.mkOption {
76
type = with lib.types; nullOr str;
77
default = null;
78
- example = "/var/log/valheim-server.log";
+ example = "/var/lib/valheim/log/valheim-server.log";
79
description = lib.mdDoc ''
80
The path where the server log file will be saved.
81
82
When set, this will redirect all logs from stdout to the specified path.
83
This means that the logs will not be captured by systemd's journal.
84
Leave this option unset to keep console logging enabled.
85
+
86
+ Make sure the valheim user has write access to the specified directory, otherwise
87
+ the valheim service fail to start and exit.
88
'';
89
};
90
0 commit comments