daeks-archive / yarman

YARMan Web (Yet Another RetroPie Manager)
https://retropie.org.uk/
MIT License
10 stars 0 forks source link

Create yarman.sh #35

Closed meleu closed 7 years ago

meleu commented 7 years ago

This is the yarman launcher I mentioned in your RetroPie-Setup PR.

The help message gives a good description of what it's able to do:

$ ./yarman.sh --help
Usage: yarman.sh OPTIONS

The OPTIONS are:

-h|--help           print this message and exit

--start             start the yarman

--stop              stop the yarman

--isrunning         show if yarman is running and the
                    listening port and exit

-p|--port NUMBER    make yarman listen at port NUMBER (optional,
                    default: 8080, only works with --start)

-u|--user USER      start yarman as USER (only available for
                    privileged users, only works with --start, USER must 
                    be a RetroPie user)

The --start and --stop options are, obviously, mutually exclusive. If the
user uses both, only the first works.
daeks commented 7 years ago

cool - very nice :)