Add user_run scripts for non root tasks
This commit is contained in:
@@ -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
@@ -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 &
|
||||
Reference in New Issue
Block a user