update readme
This commit is contained in:
@@ -13,8 +13,17 @@ telegram bot to manage servers (inside the bot)
|
|||||||
---
|
---
|
||||||
environment: ubuntu 22.04/24.04, debian 11/12
|
environment: ubuntu 22.04/24.04, debian 11/12
|
||||||
|
|
||||||
### Install:
|
## Install:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
wget -O- https://raw.githubusercontent.com/mercurykd/vpnbot/master/scripts/init.sh | sh -s YOUR_TELEGRAM_BOT_KEY master
|
wget -O- https://raw.githubusercontent.com/mercurykd/vpnbot/master/scripts/init.sh | sh -s YOUR_TELEGRAM_BOT_KEY master
|
||||||
```
|
```
|
||||||
|
#### Restart:
|
||||||
|
```shell
|
||||||
|
make r
|
||||||
|
```
|
||||||
|
#### autoload:
|
||||||
|
```shell
|
||||||
|
crontab -e
|
||||||
|
```
|
||||||
|
add `@reboot cd /root/vpnbot && make r` and save
|
||||||
|
|||||||
Reference in New Issue
Block a user