serve icon indicating copy to clipboard operation
serve copied to clipboard

Keep running serve when terminal window closed

Open sinclas opened this issue 6 years ago • 2 comments
trafficstars

Hi,

How can I keep serve running when the terminal window closes. should I use a systemd script as a service? If so, what would the path to serve be?

Thanks! Steve

sinclas avatar Feb 11 '19 19:02 sinclas

If you are trying to run as a "service" then do use the systemd scripts and use absolute path to the folder. Call the service from within the terminal.

r0mflip avatar Feb 12 '19 03:02 r0mflip

You can use some utility like screen for linux based systems. https://linuxize.com/post/how-to-use-linux-screen/

pavanmehta91 avatar Feb 23 '19 12:02 pavanmehta91