1abf7879cd
KDE Plasma runs each autostart .desktop entry as a systemd user unit. systemd tracks service liveness by cgroup membership, not just the main PID. Any process forked inside the service — even via setsid or & — stays in the service's cgroup and keeps app-logon_script.sh@autostart in active (running) state indefinitely after logon_script.sh exits. mount_ecrypt_home.sh: wrap the gocryptfs mount call with systemd-run --user --scope --unit=gocryptfs-home The FUSE daemon that gocryptfs forks now lives in its own transient scope cgroup. Exit-code propagation is unchanged because systemd-run --scope returns the main process's exit code. 0050_nextcloud_desktopclient/user_run.sh: replace /usr/bin/setsid ... & with systemd-run --user --scope --unit=nextcloud-client ... & setsid creates a new session but does not move the process out of the cgroup; systemd-run --scope does. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Central Software installation script Repository Must be executed from script ../sync_client_software.sh
The install script here will check for the right environment, and execute the install.sh script in each directory.
Be sure to name the directories to get sorted the right way. E.g. you may use all base installations with directories beginning with numbers < 0100 and all additional apps with numbers > 0100