Redis Server is an in-memory data structure project implementing a distributed, in-memory key–value database with optional durability. In other words it stores a database in RAM for faster performance and writes to disk at configured intervals.
Redis Server can be run as a Windows service using FireDaemon Pro. This allows you to start and run the dedicated server automatically when Windows boots and before login. FireDaemon Pro also allows you to start multiple instances of the game server, monitoring them and automatically restarting those instances in the event they crash. FireDaemon Fusion can also be used to manage your Redis Server service, plus other Windows services via your web browser.
Redis Server Server Setup Under FireDaemon Pro
Please follow the steps below to set up a Redis Server as a Windows service with FireDaemon Pro
Step 1: Download and Install Redis Server
- Download the zip version Microsoft's Redis Server port here.
- Extract to "C:\Redis".
- Open "C:\Redis\redis.windows.conf" and edit to your liking.
Step 2: Set Up Redis as a FireDaemon Pro Service
Download and install FireDaemon Pro. Double click the FireDaemon Pro icon on your desktop, then click on the New (i.e. +) button in the toolbar (or type Ctrl + N) to create a new service. Enter the information into the fields as you see below. Adjust the path names to suit your installation. Note the required parameters.
The most important field on the tab is the Parameters. The Parameters define the initial setup of your server. The minimum parameter list should be as follows:
redis.windows.conf
- "redis.windows.conf" Loads the redis config.
Next, click on the FireDaemon Pro Settings tab:
Enter appropriate values in the fields on the Settings tab as follows:
- (Required) Job Type: You must set job type to "Global Job".
- (Optional) Logon Account: Enter the Windows account under which the Arma 3 is to be run, e.g. the current user account.
- Password / Confirm Password: Enter the logon account's password twice.
- (Optional) Interact with Desktop: If this setting is enabled (default), the Arma 3 server's output messages can be seen in the console window on Windows Session 0. To switch to Session 0, it may be necessary to install FireDaemon Zero and ZeroInput. Alternatively, this setting may be disabled, in which case the Arma 3 server's messages will be hidden.
- (Optional) Priority: To allocate more CPU time to the Arma 3 server, select a higher scheduling priority in this field.
- (Optional) CPU Bindings: To run the application on a specific CPU, specify the appropriate CPU in this field.
Next, click in the Lifecycle tab. Set Shutdown By to Forceful Termination and check "Console Program".
Step 3: Verify that Redis Server is Running Correctly
The Redis server's status can easily be checked on the main FireDaemon Pro Services List - look for a Running Status value and a numeric Process ID (PID) value.
If the service's Interact with Desktop setting is enabled, the Arma 3 status can also be verified by switching to Windows Session 0 to view the Arma 3's messages.