chiark / gitweb /
shutdown: don't try to shut down DM devices in a container
[elogind.git] / units / systemd-random-seed-save.service.in
index 2021b079c7a220936ecfcf50f4a1fec570dd97e5..219731bae55c9a9da4be35f45af5a092cfa9c51e 100644 (file)
@@ -1,19 +1,17 @@
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
 [Unit]
 Description=Save Random Seed
 DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service killall.service
+After=systemd-random-seed-load.service
+Before=shutdown.target
 Conflicts=systemd-random-seed-load.service
 
 [Service]
 Type=oneshot
 ExecStart=@rootlibexecdir@/systemd-random-seed save
-
-[Install]
-WantedBy=shutdown.target