finalrd.service 396 B

123456789101112131415161718
  1. # SPDX-License-Identifier: GPL-3.0-only
  2. [Unit]
  3. Description=Create final runtime dir for shutdown pivot root
  4. Documentation=man:finalrd(1)
  5. After=local-fs.target boot.mount boot.automount
  6. Wants=local-fs.target
  7. Conflicts=shutdown.target umount.target
  8. DefaultDependencies=no
  9. [Service]
  10. RemainAfterExit=yes
  11. Type=oneshot
  12. ExecStart=/bin/true
  13. ExecStop=/usr/bin/finalrd
  14. [Install]
  15. WantedBy=sysinit.target