summaryrefslogtreecommitdiffstats
path: root/units/systemd-journald.socket
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-06-29 13:14:37 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-07-01 07:17:33 +0200
commit74c4bd6b1a0e3936d982f6bb729ceb3408c81a5d (patch)
tree2d16ba877b159ac2012a70d8fe451725b861036b /units/systemd-journald.socket
parentMerge pull request #23868 from keszybz/lib-resplit-2 (diff)
downloadsystemd-74c4bd6b1a0e3936d982f6bb729ceb3408c81a5d.tar.xz
systemd-74c4bd6b1a0e3936d982f6bb729ceb3408c81a5d.zip
units: add IgnoreOnIsolate=yes to systemd-journald too
We already had it on the socket units, so it's possible that systemd-journald.service would be stopped and then restarted when trafic hits the sockets when something logs. Let's not try to stop it. It is supposed to run until the end and be eventually killed in the final killing spree. This might (or not) help with #23287.
Diffstat (limited to '')
-rw-r--r--units/systemd-journald.socket6
1 files changed, 3 insertions, 3 deletions
diff --git a/units/systemd-journald.socket b/units/systemd-journald.socket
index ada3520ad1..1e2178e8fd 100644
--- a/units/systemd-journald.socket
+++ b/units/systemd-journald.socket
@@ -13,9 +13,9 @@ Documentation=man:systemd-journald.service(8) man:journald.conf(5)
DefaultDependencies=no
Before=sockets.target
-# Mount and swap units need this. If this socket unit is removed by an
-# isolate request the mount and swap units would be removed too,
-# hence let's exclude this from isolate requests.
+# Mount and swap units need this. If this socket unit is removed by an isolate
+# request the mount and swap units would be removed too, hence let's exclude
+# systemd-journald and its sockets from isolate requests.
IgnoreOnIsolate=yes
[Socket]