A quick stupid question

I am a bit of a linux novice, but i have managed to install Servoy Server and a Mysql database on a non gui linux box.

How do you keep the server alive once you have closed the terminal?

i am doing ./servoy_server.sh

but when i close the terminal the service stops.

how do i keep it going.

David

Hi David,

Try using ./servoy_server & to make it a background process.
Not every shell keeps that open when you close your session though.
So if that doesn’t work then use the screen command.
For more info use ‘man screen’.

Hope this helps.

Hi David,

what distro are you using?
You can download my SuSE Linux Sevoy start script here:
http://www.xpertmind.de/servoy/servoysrvstart.tgz, with it you can start the server automatically (using run levels).

With some adjustment can be used for with other distributions too.

Proper way to start Servoy server would be:
SERVOY_BINARY > SERVOY_LOG_FILE 2>&1 &

2>&1 is redirecting both standard and error output in the same file SERVOY_LOG_FILE.

Bruno

Thanks,

i will give this a go.

David