From 1a1442db7426262fdc23890c61c0be22cc3e1e51 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Jul 2014 20:59:25 +0200 Subject: [PATCH] Don't restart systemd-journal-flush It only needs to be started during boot. Starting it at other times shouldn't hurt, except that if systemd-journald is restarting at the same time, the latter might not have a SIGUSR1 signal handler installed yet, so it might be killed by systemd-journal-flush. (At least that's my theory about the dead systemd-journald instances in the build farm...) --- nixos/modules/system/boot/systemd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index c6c0021ba6d3..14caa5d360d5 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -825,6 +825,7 @@ in systemd.services."user@".restartIfChanged = false; systemd.services.systemd-remount-fs.restartIfChanged = false; + systemd.services.systemd-journal-flush.restartIfChanged = false; }; }