Best Practice of Running GenisysPro on Linux - GenisysPro/GenisysPro GitHub Wiki
Start your server with loop
When you run GenisysPro with loop, GenisysPro automatically restarts after being stopped. This is extremely useful if you use any auto-restart plugin on your server.
Run ./start.sh -l
in terminal from the folder you store your GenisysPro files.
Keep GenisysPro running in the background on OS with CLI only
If your machine's OS does not have GUI, you may want GenisysPro to run in the background, so you can execute other commands from the Shell, or close your remote client if you run GenisysPro on a remote server (such as a VPS), without interrupting your players' game play.
On a remote server, this is very important. Once you close your remote client, players cannot join the game.
- Install GNU Screen (
screen
) on your server.
- On Debian GNU/Linux based operating systems, you can run
apt-get install screen
. - On Red Hat Linux based operating systems, you can run
yum install screen
.
- Start GenisysPro using command
screen -U ./start.sh
in terminal from the folder you store your GenisysPro files, orscreen -U ./start.sh -l
to use loop. - You can now leave GenisysPro running in the background by pressing
Ctrl+A
thenD
, or simply exit your remote client. - If you want to go back to GenisysPro, run
screen -r
.
We suggest you have a look at GNU Screen documentation for more detailed instructions on using the software.