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

15 lines
351 B
SYSTEMD
Raw Normal View History

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