Apply some overrides to upstream systemd units

This removes the need for the following patches:

https://github.com/edolstra/systemd/commit/9a6cade993f432b520d4a2f77d0a15e08abc4dfa
https://github.com/edolstra/systemd/commit/9f7e832c901815d80d0ef38c3cbb68abb07fd914
This commit is contained in:
Eelco Dolstra
2015-05-11 12:43:35 +02:00
parent c13f189b19
commit 492471b453
+10 -2
View File
@@ -736,10 +736,18 @@ in
${concatStringsSep "\n" cfg.tmpfiles.rules}
'';
# Some overrides to upstream units.
systemd.services."systemd-backlight@".restartIfChanged = false;
systemd.services."systemd-rfkill@".restartIfChanged = false;
systemd.services."user@".restartIfChanged = false;
systemd.services.systemd-remount-fs.restartIfChanged = false;
systemd.services.systemd-journal-flush.restartIfChanged = false;
systemd.services.systemd-journald.restartIfChanged = false; # FIXME: shouldn't be necessary with systemd 219
systemd.services.systemd-random-seed.restartIfChanged = false;
systemd.services.systemd-remount-fs.restartIfChanged = false;
systemd.services.systemd-update-utmp.restartIfChanged = false;
systemd.services.systemd-user-sessions.restartIfChanged = false; # Restart kills all active sessions.
systemd.targets.local-fs.unitConfig.X-StopOnReconfiguration = true;
systemd.targets.remote-fs.unitConfig.X-StopOnReconfiguration = true;
};