Skip to content

Commit

Permalink
fixing bash code block inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-borisoglebski committed Dec 7, 2023
1 parent f64af53 commit 5fc825c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ With Lobby running, when it receives a `SIGHUP` signal, it will reprocess the co

[This demo configuration](https://raw.githubusercontent.com/ipbuff/lobby/main/docs/examples/demo.conf) will be used for test purposes.

``` bash title="Get Lobby Demo Config File"
``` title="Get Lobby Demo Config File"
wget -q \
-O lobby.conf \
https://raw.githubusercontent.com/ipbuff/lobby/main/docs/examples/demo.conf
```

In order to run Lobby on docker use the command below:

``` bash
```
docker run --rm -d \
--name lobby \
--cap-add=NET_ADMIN --cap-add=NET_RAW \
Expand Down Expand Up @@ -117,15 +117,15 @@ for i in {1..6}; do curl localhost:8082; done

Finally, when you're done with testing, just stop the Lobby container with:

``` bash
```
docker stop lobby
```

In order to setup the load balancing as per your needs, feel free to edit the `./lobby.conf` config file. You'll be able to find the full configuration reference [here](configuration.md).

With Lobby running, when it receives a `SIGHUP` signal, it will reprocess the config file and reconfigure the load balancing based on the updated config file contents. To send a SIGHUP to the Lobby container just:

``` bash
```
docker kill -s SIGHUP lobby
```

Expand Down

0 comments on commit 5fc825c

Please sign in to comment.