Nextcloud Talk: Add Autostart
This commit is contained in:
@@ -31,8 +31,7 @@ wget -q -P ${SCRIPTPATH} --timestamping https://github.com/nextcloud-releases/ta
|
|||||||
|
|
||||||
#TODO: Check if Talk is installed - if not, exit 1
|
#TODO: Check if Talk is installed - if not, exit 1
|
||||||
|
|
||||||
|
#Always start App
|
||||||
|
su -c "nohup /usr/bin/flatpak run -u --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background >/dev/null 2>&1 &" $SUDO_USER
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
#Start App - is not working, always quits with that shell
|
|
||||||
#nohup /usr/bin/flatpak run -u --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background >/dev/null &
|
|
||||||
#/usr/bin/flatpak run -u --branch=stable --arch=x86_64 --command=electron-wrapper --file-forwarding com.nextcloud.talk --background @@u %U @@ >/dev/null 2>&1 &
|
|
||||||
|
|||||||
Reference in New Issue
Block a user