chiark / gitweb /
units/initrd-*: require initrd-fs.target rather than local-fs.target
[elogind.git] / units / systemd-random-seed-save.service.in
index 6539bdceffb2d7616cc05275f57489083f7ad100..3444d4ce701c7c490656dac6bffe47bd245147c5 100644 (file)
@@ -1,15 +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
+Documentation=man:systemd-random-seed-load.service(8) man:random(4)
 DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service
-Conflicts=systemd-random-seed-load.service
+RequiresMountsFor=@RANDOM_SEED@
+After=systemd-remount-fs.service systemd-random-seed-load.service
+Before=final.target
 
 [Service]
 Type=oneshot