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