core-agent-linux/vm-systemd/qubes-mount-home.service
Marek Marczykowski-Górecki 88d7ca7940 Move mounting /rw and /home to separate service
Many services depended on misc-post only because this was where /home
gets mounted. Move that to separate service, started earlier.
2015-03-04 01:52:18 +01:00

14 lines
305 B
Desktop File

[Unit]
Description=Mount /rw and /home, initialize them if needed
Before=qubes-gui-agent.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/qubes/init/mount-home.sh
ExecStop=/sbin/fuser -kMm /home ; /bin/umount /home
ExecStopPost=-/bin/umount /rw
[Install]
WantedBy=multi-user.target