X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-random-seed-save.service.in;h=0ebd07d868427acb00229d76b9eac556804ae7bc;hp=7cfd2c0a4ef75e2ebac616f586b70f21ba732ff3;hb=ed061a8dc2acd93c2eb569d2d983d5a77f7e5b77;hpb=d3f09cf39637de2441288b5e4c93eecbd1fb872d diff --git a/units/systemd-random-seed-save.service.in b/units/systemd-random-seed-save.service.in index 7cfd2c0a4..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 killall.service +After=systemd-random-seed-load.service +Before=shutdown.target Conflicts=systemd-random-seed-load.service +RequiresMountsFor=@RANDOM_SEED@ [Service] Type=oneshot