@@ -102,22 +102,25 @@ After a successful installation you may use `systemctl` to manage `redis` and th
102102You can also install and configure SMA-X manually, for non-SystemD and/or non-Linux systems (e.g. MacOS X, BSD,
103103Linux SysV, Windows), following the steps below:
104104
105- 1 . Configure your Redis server, for your network and other preferences.
105+ 1 . Configure your Redis or Valkey server, for your network and other preferences.
106106
107- 2 . Copy the LUA scripts from the ` lua/ ` folder to an appropriate location for your boot service manager (e.g.
108- ` /usr/share/smax/lua ` or equivalent). Optionally, edit the LUA scripts to remove any SMA-specific content, which
109- is clearly marked.
107+ 2 . Copy the LUA scripts from the ` lua/ ` folder to an appropriate location (e.g. ` /usr/share/smax/lua ` ). Optionally,
108+ edit the LUA scripts to remove any SMA-specific content, which is clearly marked.
110109
1111103 . If your system has bash, copy ` smax-init.sh ` to an appropriate location (e.g. ` /usr/bin ` or equivalent) from where
112- your service manager may run it. Edit the script to reflect the location where you installed the LUA scripts.
113- Alternatively, you may create a similar initializer for your system using the script language of your choice.
114- (` smax-init.sh ` simply uses a set of ` redis-cli ` commands to initialize a Redis database for SMA-X.)
111+ you or your service manager may run it. Edit the script to reflect the location where you installed the LUA
112+ scripts. Alternatively, you may create a similar initializer for your system using the script language of your
113+ choice.
114+
115+ 4 . If using Valkey (not Redis) as your server, you should also replace ` redis-cli ` in your installed ` smax-init.sh `
116+ with ` valkey-cli ` (` smax-init.sh ` simply uses a set of ` redis-cli ` commands to initialize a Redis database for
117+ SMA-X.)
115118
1161194 . To start SMA-X on boot, first make sure that the Redis server is started on boot. Conditional on Redis being
117120 available, you should then configure your system to run the loader script (` smax-init.sh ` or equivalent) also on
118121 boot, after Redis.
119122
120- 5 . Reboot or else start Redis and run the LUA script loader manually.
123+ 5 . Reboot or else start Redis and run the ` smax-init.sh ` manually.
121124
122125
123126
0 commit comments