initrd-cleanup.service 630 B

123456789101112131415161718
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=Cleaning Up and Shutting Down Daemons
  9. DefaultDependencies=no
  10. ConditionPathExists=/etc/initrd-release
  11. OnFailure=emergency.target
  12. OnFailureJobMode=replace-irreversibly
  13. After=initrd-root-fs.target initrd-fs.target initrd.target
  14. [Service]
  15. Type=oneshot
  16. ExecStart=/bin/systemctl --no-block isolate initrd-switch-root.target