earlyoom module: log stderr to journald

(Default is to do the same as stdout which is > /dev/null)
This commit is contained in:
obadz 2021-10-05 10:17:09 +01:00
parent 14aef06d9b
commit b4981eb8e1

View file

@ -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} \