Skip to content

Commit 002cc11

Browse files
committed
README.md: Document how to daemonize a long-running server process
1 parent b68f46d commit 002cc11

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,3 +324,10 @@ that domain to the server or VM's IP address.
324324
command: `$ sudo apt install xkb-data x11-xkb-utils x11-xserver-utils`
325325

326326
1. Run the command: `$ ./main.ts`
327+
328+
329+
## Daemonizing the server
330+
331+
The easiest way to start a server process that survives the end of your login session is to either
332+
run `nohup ./main.ts` or invoke `./main.ts` from within a terminal multiplexer such as `screen` or
333+
`tmux`.

0 commit comments

Comments
 (0)