Background start: Replace NOHUP with SETSID, which is working more relyable

This commit is contained in:
Daniel Pätzold
2026-04-14 23:06:25 +02:00
parent 5bce1e34f3
commit 514b1b1e19
2 changed files with 2 additions and 2 deletions
@@ -109,7 +109,7 @@ done
#fi
# Now start Nextcloud
echo "Starting Nextcloud Client in Background"
/usr/bin/nohup ${BASECMD} --background 1>${TEMPDIR}/nc_desktop_client.log 2>&1 &
/usr/bin/setsid ${BASECMD} --background >${TEMPDIR}/nc_desktop_client.log 2>&1 &
sleep 5
echo "Done Setup of Nextcloud."
exit 0
@@ -8,5 +8,5 @@ fi
# Start Nextcloud Talk in Background
#Current Version of Talk is dumping Core
echo "Starting Nextcloud Talk in Background."
/usr/bin/nohup /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background 1>${TEMPDIR}/talk.log 2>&1 &
/usr/bin/setsid /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background >${TEMPDIR}/talk.log 2>&1 &
sleep 5