What does nohup add here?
nohup ./server.sh > server.log &
- It keeps running after you log out
- It runs the script with root privileges
- It restarts the script on crash
- It blocks all output to the log
nohup makes the command ignore SIGHUP, the hang-up signal sent when the terminal session closes.