I know just enough about linux and similar os's to get myself into trouble. Here's the scenario.
I have a JAR file that I run with the following shell script:
==== start.sh ====
/usr/java/java -jar /prog/ram/jarfile.jar
After starting, I can enter "commands" to the program via the terminal. Basically an admin console for a server app.
My question is this. 1) I may need more than one person to be able to send these console commands to said server, 2) I certainly want to be able to run this in the BG via a daemon so that I don't have to be logged in for it to be running.
The problem is that only the user who started the server can access the console, and if I move it to the bg, no one can send commands.
I'm wondering if there's perhaps some way to send commands to it via stdin? I have searched wide, but not far, and I haven't seen anything that I think will help, likely because I don't really know what I'm searching for.
Thanks in advance!