O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running IGWEB in the background

The igweb web server instance can run in the background using the nohup command:

$ nohup ./igweb 2>&1 &

The nohup command is used to continue running the igweb program even after the current session has been terminated. On a Unix-like system, the 2>&1 construct means redirecting standard error (stderr) to the same place as the standard output (stdout). Log messages from the igweb program will be available for view by tailing the /var/log/syslog file. Finally, the last ampersand, &, in the command indicates running the program in the background.

We can stop the igweb process by first getting the PID (process ID):

$ ps -ef | grep igweb | grep -v grep

In the output returned from running this command, the PID value ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required