earlyoom module: log stderr to journald
(Default is to do the same as stdout which is > /dev/null)
This commit is contained in:
parent
14aef06d9b
commit
b4981eb8e1
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ in
|
|||
path = optional ecfg.enableNotifications pkgs.dbus;
|
||||
serviceConfig = {
|
||||
StandardOutput = "null";
|
||||
StandardError = "journal";
|
||||
ExecStart = ''
|
||||
${pkgs.earlyoom}/bin/earlyoom \
|
||||
-m ${toString ecfg.freeMemThreshold} \
|
||||
|
|
Loading…
Reference in a new issue