gocryptfs: clean session mount/unmount via systemd service #29

Merged
obel1x merged 7 commits from unbrot/fedora-OEMDRV:main into main 2026-05-07 18:07:11 +02:00
Showing only changes of commit b9d13e821d - Show all commits
+1 -1
View File
@@ -97,7 +97,7 @@ systemd-run --user --unit=gocryptfs-home \
--property="ExecStop=/usr/bin/fusermount -u ${DECRYPTEDDATADIR}" \ --property="ExecStop=/usr/bin/fusermount -u ${DECRYPTEDDATADIR}" \
--property=KillMode=none \ --property=KillMode=none \
--property=TimeoutStopSec=30 \ --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=$? RETVAL=$?
# Service starts asynchronously - wait for the FUSE mount to appear before removing # Service starts asynchronously - wait for the FUSE mount to appear before removing
# the passfile, otherwise gocryptfs may not have read it yet # the passfile, otherwise gocryptfs may not have read it yet