Skip to content

Commit 30dc741

Browse files
Fix redis service name on installation page
Co-authored-by: David Dougherty <[email protected]>
1 parent 0049d4c commit 30dc741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/operate/oss_and_stack/install/install-redis/install-redis-on-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ If your Linux distribution does not currently have Snap installed, you can insta
7272
You can start the Redis server as a background process using the `systemctl` command. This only applies to Ubuntu/Debian when installed using `apt`, and Red Hat/Rocky when installed using `yum`.
7373

7474
{{< highlight bash >}}
75-
sudo systemctl start redis-server
75+
sudo systemctl start <redis-service-name> # redis or redis-server depending on platform
7676
{{< / highlight >}}
7777

7878
To stop the server, use:
7979

8080
{{< highlight bash >}}
81-
sudo systemctl stop redis-server
81+
sudo systemctl stop <redis-service-name> # redis or redis-server depending on platform
8282
{{< / highlight >}}
8383

8484
## Connect to Redis

0 commit comments

Comments
 (0)