Run the server
g2s server to launch the server, optionally accompanied by any of the below settings. Alternatively, run
g2s enable to launch the server and make sure it relaunches at start-up when you reboot your machine (and run
g2s disable to disable this service again).
If you did not install g2s through linuxbrew but chose the manual installation from source instead, launch the server by running
./server from within the G2S/build/c++-build (or G2S/build/intel-build for the intel version).
ⓘ The server generates logs- and data-files in subfolders /tmp/G2S/logs and /tmp/G2S/data that are saved for debug purposes. They are currently automatically removed at the reboot of the computer, at the launch of the server or after one day. This parameterization can be changed with -kod and -age.
||Run as daemon|
||Shutdown the server if there is no activity after n seconds, 0 for ∞ (default: 0)|
||Select a specific port for the server (default: 8128)|
||Keep old data, if the flag is not present all files from previous runs are erased at launch|
||Set the time in second after files need to be removed (default: 86400 s = 1d)|
||Single job at a time (excludes the use of -after, only use if you’re sure to be the only one accessing the server)|
||Run as a function, without fork|
||Limit the maximum number of jobs running in parallel.|