mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 18:53:33 +08:00
20 lines
566 B
SYSTEMD
20 lines
566 B
SYSTEMD
# 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
|
|
# (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
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=-@rootlibexecdir@/systemd-random-seed save
|
|
|
|
[Install]
|
|
WantedBy=shutdown.target
|