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=63cb20a28b3f5e858a306daf7e0657ccbb0ab163;hp=70cb31d491ff18c3f6a44f7e7180371405870244;hpb=5192bd1945f59254b3d260ded15dd9f2b8cc2de7;p=elogind.git diff --git a/units/systemd-random-seed-save.service.in b/units/systemd-random-seed-save.service.in index 70cb31d49..0ebd07d86 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 DefaultDependencies=no -Before=poweroff.service reboot.service halt.service killall.service -Conflicts=systemd-random-seed-save.service +After=systemd-random-seed-load.service +Before=shutdown.target +Conflicts=systemd-random-seed-load.service +RequiresMountsFor=@RANDOM_SEED@ [Service] Type=oneshot ExecStart=@rootlibexecdir@/systemd-random-seed save - -[Install] -WantedBy=shutdown.target