Use 'which' to locate fuser since fuser path is different in Fedora and Debian
This commit is contained in:
parent
d04e5b5039
commit
bd47b0cfdc
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user