Skip to content

Commit 2d2a1b2

Browse files
author
Philipp Heckel
committed
Add help in config file; bump readme instructions
1 parent 4ba798d commit 2d2a1b2

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@ sudo apt install replbot
174174
**Debian/Ubuntu** (*manual install*)**:**
175175
```bash
176176
sudo apt install tmux
177-
wget https://github.com/binwiederhier/replbot/releases/download/v0.4.2/replbot_0.4.2_amd64.deb
178-
dpkg -i replbot_0.4.2_amd64.deb
177+
wget https://github.com/binwiederhier/replbot/releases/download/v0.4.5/replbot_0.4.5_amd64.deb
178+
dpkg -i replbot_0.4.5_amd64.deb
179179
```
180180

181181
**Fedora/RHEL/CentOS:**
182182
```bash
183183
# Make sure that "tmux" is installed
184-
rpm -ivh https://github.com/binwiederhier/replbot/releases/download/v0.4.2/replbot_0.4.2_amd64.rpm
184+
rpm -ivh https://github.com/binwiederhier/replbot/releases/download/v0.4.5/replbot_0.4.5_amd64.rpm
185185
```
186186

187187
**Docker:**
@@ -206,8 +206,8 @@ go get -u heckel.io/replbot
206206
**Manual install** (*any x86_64-based Linux*)**:**
207207
```bash
208208
# Make sure that "tmux" is installed
209-
wget https://github.com/binwiederhier/replbot/releases/download/v0.4.2/replbot_0.4.2_linux_x86_64.tar.gz
210-
sudo tar -C /usr/bin -zxf replbot_0.4.2_linux_x86_64.tar.gz replbot
209+
wget https://github.com/binwiederhier/replbot/releases/download/v0.4.5/replbot_0.4.5_linux_x86_64.tar.gz
210+
sudo tar -C /usr/bin -zxf replbot_0.4.5_linux_x86_64.tar.gz replbot
211211
```
212212

213213
## Building

config/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,20 @@ bot-token: MUST_BE_SET
102102
#
103103
# idle-timeout: 10m
104104

105+
# Defines the maximum number of active sessions by all users combined.
106+
#
107+
# Format: <number>
108+
# Default: 6
109+
# Required: No
110+
#
105111
# max-total-sessions: 6
112+
113+
# Defines the maximum number of active sessions by any individual user.
114+
#
115+
# Format: <number>
116+
# Default: 2
117+
# Required: No
118+
#
106119
# max-user-sessions: 2
107120

108121
# Cursor setting for the terminal. Can be "on" to always render the cursor, "off" to turn it off entirely,

0 commit comments

Comments
 (0)