diff --git a/INSTALL.md b/INSTALL.md index e667142..baa99c2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -144,12 +144,16 @@ in that group: sudo usermod -aG redis www-data ``` -Test: +> **✓ Check:** the socket answers with the password from this step: ```bash redis-cli -s /run/redis-svxportal/redis.sock -a 'PASTE-THE-VALUE-HERE' ping # -> PONG ``` +Both `auth/config.php` (step 5) and `svxdr.json` (step 9) point at this one +socket `/run/redis-svxportal/redis.sock` — the example files already do, so you +only paste the password into them. + ## 4. PHP-FPM Two pools are used. The default pool (`www`) handles all normal pages. A diff --git a/auth/config.php.example b/auth/config.php.example index 48605b0..d54bec3 100644 --- a/auth/config.php.example +++ b/auth/config.php.example @@ -3,7 +3,7 @@ declare(strict_types=1); return [ 'redis' => [ - 'unix_socket' => '/run/redis/redis.sock', + 'unix_socket' => '/run/redis-svxportal/redis.sock', 'password' => 'CHANGEME', 'host' => '127.0.0.1', 'port' => 6379,