qubes-mount-home.service 351 B

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