Is there way to keep an application running on a Linux server?

1.3k Views Asked by At

I am using Ngrok (https://ngrok.com/) application on my Godaddy Linux server to create a local-tunnel to my host.

However, I access the server through SSH and run the application but when I exit from the SSH connection the application stops running, so is there way to keep Ngrok application running (as a service maybe) on a Linux server?

NOTE: I don't have root access on Godaddy server, so the whatever the solution should be able to proceed as a non root user

1

There are 1 best solutions below

2
On

You need to use GNU screen. screen

When you install screen and open it run your commands inside then exit it. There are a lot of infos about that in google so check it there

and then you are able to exit with CTRL + A then CTRL + D

hope it helped you