diff --git a/vm-systemd/qubes-mount-home.service b/vm-systemd/qubes-mount-home.service index c6be2b5..bbed16c 100644 --- a/vm-systemd/qubes-mount-home.service +++ b/vm-systemd/qubes-mount-home.service @@ -6,7 +6,8 @@ Before=qubes-gui-agent.service Type=oneshot RemainAfterExit=yes ExecStart=/usr/lib/qubes/init/mount-home.sh -ExecStop=/sbin/fuser -kMm /home ; /bin/umount /home +# 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]