Table of Contents
Jaymod supplies a serverctl script which is used to control the game server process on Linux. While you could create your own script to manage your game server, it is recommended you examine the launch command and signal usage in order to get a better understanding of officially endorsed methods.
Jaymod now has special signal handling routines for Linux. The serverctl script makes use of these signals. If you have your own scripts, it is recommended you use the following signals for the appropriate actions.
Queues an (immediate) controlled shutdown sequence composed of { killserver, quit } server command sequence.
Queues an (immediate) controlled shutdown sequence composed of { killserver, quit } server command sequence.
Queues an (immediate) controlled database reload composed of { !readconfig } server command sequence.
Startup server. For this example we will assume you are using the serverctl script bundled with Jaymod.
[etserver]$ cd ~etserver/server1/
[etserver]$ ./serverctl status
[etserver]$ ./serverctl start
[etserver]$ ./serverctl status
Shutdown server. For this example we will assume you are using the serverctl script bundled with Jaymod.
[etserver]$ cd ~etserver/server1/
[etserver]$ ./serverctl status
[etserver]$ ./serverctl stop
[etserver]$ ./serverctl status
Check server status. For this example we will assume you are using the serverctl script bundled with Jaymod.
[etserver]$ cd ~etserver/server1/
[etserver]$ ./serverctl status
Restart server. For this example we will assume you are using the serverctl script bundled with Jaymod.
[etserver]$ cd ~etserver/server1/
[etserver]$ ./serverctl status
[etserver]$ ./serverctl restart
[etserver]$ ./serverctl status