mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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
@ -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 New Issue
Block a user