From: Lennart Poettering Date: Wed, 8 Apr 2020 14:25:03 +0000 (+0200) Subject: units: make sure systemd-pstore stops at shutdown X-Git-Tag: v246-rc1~605^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15365%2Fhead;p=thirdparty%2Fsystemd.git 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. --- diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in index f9705b57f6f..6e4827f03c8 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