X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-random-seed-save.service.in;h=3444d4ce701c7c490656dac6bffe47bd245147c5;hp=2021b079c7a220936ecfcf50f4a1fec570dd97e5;hb=9f26c90cb50c45d4549c4dd569917b4ac143b94d;hpb=7f17ef2201b1765afd0bb6c747588f88b8f4cd46 diff --git a/units/systemd-random-seed-save.service.in b/units/systemd-random-seed-save.service.in index 2021b079c..3444d4ce7 100644 --- a/units/systemd-random-seed-save.service.in +++ b/units/systemd-random-seed-save.service.in @@ -1,19 +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=Save Random Seed +Documentation=man:systemd-random-seed-load.service(8) man:random(4) DefaultDependencies=no -Before=poweroff.service reboot.service halt.service killall.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 ExecStart=@rootlibexecdir@/systemd-random-seed save - -[Install] -WantedBy=shutdown.target