X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-random-seed-load.service.in;h=e9156ef086226c795019698339e4f34e4fb7982a;hp=4d5841d6f554e41138f0f7d789f14404dc944ec0;hb=9c2cd81e0ef9cf45adc6108eaea172d722f39321;hpb=ca2cab5dcd3d29f45992a439f54e48faad764c6e diff --git a/units/systemd-random-seed-load.service.in b/units/systemd-random-seed-load.service.in index 4d5841d6f..e9156ef08 100644 --- a/units/systemd-random-seed-load.service.in +++ b/units/systemd-random-seed-load.service.in @@ -1,20 +1,18 @@ # 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 -ExecStart=-@rootlibexecdir@/systemd-random-seed load - -[Install] -WantedBy=sysinit.target +ExecStart=@rootlibexecdir@/systemd-random-seed load