qubes-rootfs-resize.service 544 B

12345678910111213141516171819
  1. [Unit]
  2. Description=Adjust root filesystem size
  3. # There is a dependency on dev-xvdb.device because
  4. # mount-dirs.sh calls setup-rwdev.sh which
  5. # must happen only when /dev/xvdb has appeared.
  6. After=qubes-sysinit.service dev-xvda.device
  7. DefaultDependencies=no
  8. Before=local-fs.target
  9. [Service]
  10. Type=oneshot
  11. RemainAfterExit=yes
  12. ExecStart=/usr/lib/qubes/init/resize-rootfs-if-needed.sh
  13. # There is no need for an ExecStop because systemd
  14. # cleans up mount units in the right order, killing
  15. # processes as needed.
  16. [Install]
  17. WantedBy=multi-user.target