qubes-mount-dirs.service 418 B

12345678910111213141516
  1. [Unit]
  2. Description=Initialize and mount /rw and /home
  3. After=qubes-sysinit.service
  4. DefaultDependencies=no
  5. Before=local-fs.target qubes-gui-agent.service
  6. [Service]
  7. Type=oneshot
  8. RemainAfterExit=yes
  9. ExecStart=/usr/lib/qubes/init/mount-dirs.sh
  10. # Fedora and Debian have different paths for fuser
  11. ExecStop=/bin/sh -c 'fuser -kMm /home' ; /bin/umount /home
  12. ExecStopPost=-/bin/umount /rw
  13. [Install]
  14. WantedBy=multi-user.target