service file, lxml

This commit is contained in:
Benny
2019-08-16 10:30:45 +08:00
parent 81299a300f
commit 8a7aca21a4
3 changed files with 4 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
## 1. 环境
推荐使用Python 3Python 2未进行测试使用pip安装依赖
```bash
pip install requests pytelegrambotapi beautifulsoup4
pip install requests pytelegrambotapi beautifulsoup4 lxml
```
## 2. 配置TOKEN
修改`config.py`把TOKEN修改为你的bot token

View File

@@ -1,3 +1,4 @@
requests
pytelegrambotapi
beautifulsoup4
beautifulsoup4
lxml

View File

@@ -4,7 +4,7 @@ After=network.target network-online.target nss-lookup.target
[Service]
User=nobody
Group=nobody
Restart=on-failure
Type=simple
ExecStart=/usr/bin/python /home/YYeTsBot/bot.py