Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -59,6 +59,12 @@ openssl rand -hex 16
|
|||||||
```
|
```
|
||||||
|
|
||||||
**1. Place your config to /etc/telemt.toml**
|
**1. Place your config to /etc/telemt.toml**
|
||||||
|
|
||||||
|
Open nano
|
||||||
|
```bash
|
||||||
|
nano /etc/telemt.toml
|
||||||
|
```
|
||||||
|
then Ctrl+X -> Y -> Enter
|
||||||
```bash
|
```bash
|
||||||
port = 443 # Listening port
|
port = 443 # Listening port
|
||||||
|
|
||||||
@@ -82,6 +88,12 @@ client_keepalive = 600 # Seconds
|
|||||||
client_ack_timeout = 300 # Seconds
|
client_ack_timeout = 300 # Seconds
|
||||||
```
|
```
|
||||||
**2. Create service on /etc/systemd/system/telemt.service**
|
**2. Create service on /etc/systemd/system/telemt.service**
|
||||||
|
|
||||||
|
Open nano
|
||||||
|
```bash
|
||||||
|
nano /etc/systemd/system/telemt.service
|
||||||
|
```
|
||||||
|
paste this Systemd Module
|
||||||
```bash
|
```bash
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Telemt
|
Description=Telemt
|
||||||
@@ -96,6 +108,8 @@ Restart=on-failure
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
then Ctrl+X -> Y -> Enter to save
|
||||||
|
|
||||||
**3.** In Shell type `systemctl start telemt` - it must start with zero exit-code
|
**3.** In Shell type `systemctl start telemt` - it must start with zero exit-code
|
||||||
|
|
||||||
**4.** In Shell type `systemctl status telemt` - there you can reach info about current MTProxy status
|
**4.** In Shell type `systemctl status telemt` - there you can reach info about current MTProxy status
|
||||||
|
|||||||
Reference in New Issue
Block a user