commandstar icon indicating copy to clipboard operation
commandstar copied to clipboard

runServer.sh - Fails when run outside of commandstar dir

Open seriallos opened this issue 12 years ago • 6 comments

runServer.sh assumes you are running it in the commandstar dir making it a bit difficult to run from init scripts.

Update the script so that it can be run from anywhere properly.

seriallos avatar Dec 25 '13 18:12 seriallos

I think we need to create an installer, put all file in a directory (like "/opt/commandstar") and create an symlink or another .sh file in "init.d"

malobre avatar Dec 26 '13 12:12 malobre

I'm working on, come see when you have time https://github.com/malobre/commandstar/ , i will do a pull request when it work good :D

malobre avatar Dec 26 '13 13:12 malobre

Id be a little careful - it's really hard to support all the Linux OSes out there not to mention that windows support is pretty important right now.

For OS-specific service running, wiki pages and links from the README are the best bet not lots of code in the main repo

seriallos avatar Dec 26 '13 16:12 seriallos

Hmm, i will make search for the best compatibility with a maximum of OS .

malobre avatar Dec 26 '13 22:12 malobre

So, I think it's important to make the install system compatible with window$ and major linux distributions (Ubuntu, Debian, Fedora, ?) and OSX . Fort windows and linux it must be not very easy but not very hard too. For OSX ... I dont know x)

malobre avatar Dec 26 '13 22:12 malobre

For* (sorry for spelling mistakes, i'm writing on a Android phone with french self-correction activated :/ )

malobre avatar Dec 26 '13 22:12 malobre