Run servoy server when exit ssh

I have a problem and occurs when i’m conected to the ssh and run the .sh, and all it’s okey when i’m conecting to the machine, but the ssh close the connection when no activity in the machine, and close too the sh script, and can’t acces the server again, in this case i have to enter again in ssh and run manually the sh.

In other way i installed the servoy_service.sh but not ocurs nothing, any idea to make EVER the servoy_server.sh run?

You have to keep the .sh running in the background. You can start the script in the background by adding ‘&’ after the command:

./servoy_server.sh &

Then Servoy will be running even if you close your ssh connection.

Simply backgrounding the process with ‘&’ will still cause the server to terminate when you leave your session. you need to set ‘nohup’ when you start the process if you want to do it that way viewtopic.php?p=49713#p49713

But really, you (if you are on servoy >= 6.0) should use the service wrapper as this is the problem it’s designed to solve. http://wiki.servoy.com/display/public/D … +a+service