summaryrefslogtreecommitdiffstats
path: root/units/systemd-pstore.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-04-08 16:25:03 +0200
committerLennart Poettering <lennart@poettering.net>2020-04-08 16:29:58 +0200
commitb0c1a07654c80d3cbbbcc52f860d4206707c0b08 (patch)
tree5269872bfcfb092367f2c9f9c5bf2383693023bb /units/systemd-pstore.service.in
parentunits: drop systemd-remount-fs.service dependency from more services (diff)
downloadsystemd-b0c1a07654c80d3cbbbcc52f860d4206707c0b08.tar.xz
systemd-b0c1a07654c80d3cbbbcc52f860d4206707c0b08.zip
units: make sure systemd-pstore stops at shutdown
This doesn't matter too much given that the service doesn't do anything on shutdown, but let's still stop it to make things cleaner.
Diffstat (limited to 'units/systemd-pstore.service.in')
-rw-r--r--units/systemd-pstore.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in
index f9705b57f6..6e4827f03c 100644
--- a/units/systemd-pstore.service.in
+++ b/units/systemd-pstore.service.in
@@ -13,7 +13,8 @@ Documentation=man:systemd-pstore(8)
ConditionDirectoryNotEmpty=/sys/fs/pstore
ConditionVirtualization=!container
DefaultDependencies=no
-Before=sysinit.target
+Conflicts=shutdown.target
+Before=sysinit.target shutdown.target
[Service]
Type=oneshot