earlyoom module: log stderr to journald
(Default is to do the same as stdout which is > /dev/null)
This commit is contained in:
@@ -106,6 +106,7 @@ in
|
|||||||
path = optional ecfg.enableNotifications pkgs.dbus;
|
path = optional ecfg.enableNotifications pkgs.dbus;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
StandardOutput = "null";
|
StandardOutput = "null";
|
||||||
|
StandardError = "journal";
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.earlyoom}/bin/earlyoom \
|
${pkgs.earlyoom}/bin/earlyoom \
|
||||||
-m ${toString ecfg.freeMemThreshold} \
|
-m ${toString ecfg.freeMemThreshold} \
|
||||||
|
|||||||
Reference in New Issue
Block a user