X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-random-seed-save.service.in;h=0ebd07d868427acb00229d76b9eac556804ae7bc;hb=e6a2674500dd4fa0b5eaa93ab77502ba14688c08;hp=6539bdceffb2d7616cc05275f57489083f7ad100;hpb=9ef9c0b3a32c98a5c94c682805a7b7eb4b9217ce;p=elogind.git diff --git a/units/systemd-random-seed-save.service.in b/units/systemd-random-seed-save.service.in index 6539bdcef..0ebd07d86 100644 --- a/units/systemd-random-seed-save.service.in +++ b/units/systemd-random-seed-save.service.in @@ -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 DefaultDependencies=no -Before=poweroff.service reboot.service halt.service +After=systemd-random-seed-load.service +Before=shutdown.target Conflicts=systemd-random-seed-load.service +RequiresMountsFor=@RANDOM_SEED@ [Service] Type=oneshot