diff --git a/system_setup/mount_ecrypt_home.sh b/system_setup/mount_ecrypt_home.sh index 537023a..2f1d35a 100755 --- a/system_setup/mount_ecrypt_home.sh +++ b/system_setup/mount_ecrypt_home.sh @@ -97,7 +97,7 @@ systemd-run --user --unit=gocryptfs-home \ --property="ExecStop=/usr/bin/fusermount -u ${DECRYPTEDDATADIR}" \ --property=KillMode=none \ --property=TimeoutStopSec=30 \ - gocryptfs -noprealloc -allow_other -passfile ${XDG_RUNTIME_DIR}/IPAVAULTKEY -config ${HOME}/.config/gocryptfs/gocryptfs.conf ${ENCRYPTEDDATADIR} ${DECRYPTEDDATADIR} >/dev/null + gocryptfs -fg -noprealloc -allow_other -passfile ${XDG_RUNTIME_DIR}/IPAVAULTKEY -config ${HOME}/.config/gocryptfs/gocryptfs.conf ${ENCRYPTEDDATADIR} ${DECRYPTEDDATADIR} >/dev/null RETVAL=$? # Service starts asynchronously - wait for the FUSE mount to appear before removing # the passfile, otherwise gocryptfs may not have read it yet