omxwebgui-v2 icon indicating copy to clipboard operation
omxwebgui-v2 copied to clipboard

Start script for omxwebgui

Open fkbreitl opened this issue 8 years ago • 1 comments

I believe many users would find it convenient to launch omxwebgui with a single command. Here I propose such a script named omxwebgui to be located in the omxwebgui/ folder:

#!/bin/sh                                                                      

php -S 0.0.0.0:4321 -t $(readlink -f "$0" | xargs dirname) >> /var/log/omxwebgui.log 2>&1 &

It needs to be made executable with

chmod +x omxwebgui.

Could this be added to the repository?

fkbreitl avatar Nov 21 '17 18:11 fkbreitl

Well, already thought about that earlier here https://github.com/brainfoolong/omxwebgui-v2/issues/22

Turned out to not be that easy because of the crap dbus daemon which will be started implicitly by omxplayer but cannot be killed as easy as the omxplayer.

I stopped working on that because lack of time.

brainfoolong avatar Nov 22 '17 06:11 brainfoolong