core-agent-linux/vm-systemd/qubes-mount-home.service

15 lines
384 B
Desktop File

[Unit]
Description=Initialize and mount /rw and /home
Before=qubes-gui-agent.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/qubes/init/mount-home.sh
# Fedora and Debian have different paths for fuser, so use 'which'
ExecStop=/bin/sh -c '`/usr/bin/which fuser` -kMm /home' ; /bin/umount /home
ExecStopPost=-/bin/umount /rw
[Install]
WantedBy=multi-user.target