mirror of
https://github.com/yshtcn/ServerChanPush2TelegramBot.git
synced 2025-12-11 16:50:22 +08:00
- 增加ServerChanPush2TelegramBot.bat:单进程执行程序
- 增加ServerChanPush2TelegramBot_wsgi.bat:使用waitress-serve执行程序 - 修改.gitignore:忽略bot_config.json
This commit is contained in:
parent
ba2323d4a2
commit
663b7689e4
1
.gitignore
vendored
1
.gitignore
vendored
@ -158,3 +158,4 @@ cython_debug/
|
||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||
#.idea/
|
||||
/bot_config.json
|
||||
|
||||
5
ServerChanPush2TelegramBot.bat
Normal file
5
ServerChanPush2TelegramBot.bat
Normal file
@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
@echo ServerChanPush2TelegramBot start
|
||||
cd /d %~dp0
|
||||
py ServerChanPush2TelegramBot.py
|
||||
pause
|
||||
6
ServerChanPush2TelegramBot_wsgi.bat
Normal file
6
ServerChanPush2TelegramBot_wsgi.bat
Normal file
@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
title 【服务器-请勿关闭】ServerChanPush2TelegramBot
|
||||
cd /d %~dp0
|
||||
:start
|
||||
waitress-serve --threads=10 --listen=*:5000 ServerChanPush2TelegramBot:app
|
||||
goto start
|
||||
Loading…
x
Reference in New Issue
Block a user