Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

Start script for omxwebgui #23

Open
fkbreitl opened this issue Nov 21, 2017 · 1 comment
Open

Start script for omxwebgui #23

fkbreitl opened this issue Nov 21, 2017 · 1 comment

Comments

@fkbreitl
Copy link

fkbreitl commented Nov 21, 2017

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?

@brainfoolong
Copy link
Owner

Well, already thought about that earlier here #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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants