readme添加网关开机自启流程
This commit is contained in:
@ -8,4 +8,10 @@
|
|||||||
|
|
||||||
# 注意事项:
|
# 注意事项:
|
||||||
1. 现在程序使用的是html单独的文件,该程序生成.exe会读取不到html文件,因此如果要生成.exe文件,
|
1. 现在程序使用的是html单独的文件,该程序生成.exe会读取不到html文件,因此如果要生成.exe文件,
|
||||||
将main中的from api_server_html import APIServer 修改为from api_server import APIServer即可。
|
将main中的from api_server_html import APIServer 修改为from api_server import APIServer即可。
|
||||||
|
|
||||||
|
2. 网关添加开机自启程序:
|
||||||
|
打开网关的文件系统目录中的/etc/htset/autorun文件,在最后一行添加需要运行的用户程序。
|
||||||
|
如 HelloWorld 程序,假设存放目录为/home/htnice/app,则在 autorun 文
|
||||||
|
件的末尾新添加一行如下指令
|
||||||
|
/home/htnice/app/HelloWorld &
|
||||||
Reference in New Issue
Block a user