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: archive/raspbian/245.5-1+rpi1^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=19d951e7cd438b6eab61fb1954b49e75777f9856;p=systemd.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. (cherry picked from commit b0c1a07654c80d3cbbbcc52f860d4206707c0b08) Gbp-Pq: Name units-make-sure-systemd-pstore-stops-at-shutdown.patch --- diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in index f9705b57..6e4827f0 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