chiark / gitweb /
units: teach m4 scripts in units/ about Debian's rc.local
[elogind.git] / units / systemd-random-seed-load.service.in
index 087f7b6800df33528c5d8e2b8d79bbc4e8dd400e..e9156ef086226c795019698339e4f34e4fb7982a 100644 (file)
@@ -1,16 +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=Load Random Seed
+Documentation=man:systemd-random-seed-load.service(8) man:random(4)
 DefaultDependencies=no
-After=local-fs.target
-Conflicts=shutdown.target
-Before=shutdown.target
+RequiresMountsFor=@RANDOM_SEED@
+After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
+Before=sysinit.target final.target
 
 [Service]
 Type=oneshot