Add user_run scripts for non root tasks

This commit is contained in:
Daniel Pätzold
2026-04-01 00:41:24 +02:00
parent 578c9861e8
commit 0e4eadbef3
3 changed files with 10 additions and 2 deletions
@@ -31,7 +31,5 @@ wget -q -P ${SCRIPTPATH} --timestamping https://github.com/nextcloud-releases/ta
#TODO: Check if Talk is installed - if not, exit 1
#Always start App
su -c "/usr/bin/nohup /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background >/dev/null 2>&1 &" $SUDO_USER
exit 0
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
# Start Nextcloud Talk in Background
/usr/bin/nohup flatpak run --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background 1>/dev/null 2>&1 &