is there a way to deno run in background and keep it running even when i close ssh connection?
how
3 Replies
If all you need is to keep the application open on the remote server, you could use
screen
to keep a virtual terminal open or create a system service
https://www.linux.org/threads/how-to-create-a-custom-systemd-service-file.47399/
https://linuxize.com/post/how-to-use-linux-screen/Linux.org
How to create a custom systemd service file
Create or Identify Your Bash Script: Make sure you have a Bash shell script that you want to run. If it's not already in place, create one and make it executable by running chmod +x your_script.sh in the terminal. Typically you will want to make the permissions so non-root users can't do...
How To Use Linux Screen
Screen or GNU Screen, is a terminal multiplexer. In other words, it means that you can a start a screen session and then open any number of windows (virtual terminals) inside that session.
thanks, 'nohup deno run --A your_script.ts &' also did worked
I've worked with
screen
in the past and it's great.