zishu's blog

zishu's blog

一个热爱生活的博主。https://zishu.me

How to implement process monitoring in Baota?

To facilitate writing, both the PC and mobile versions can be synchronized. I have set up an online note using Leanote, but a command must be run in the server backend.

base run.sh

Otherwise, the port cannot be accessed. I cannot keep the command running in the terminal all the time, so I need to put the command in the server backend to let it run by itself. Fortunately, there is a plugin called "Supervisor Manager 2.2".

image

It is a free Python plugin. Click to download it, and then go to the settings.

image

Click to add a process monitor.

image

Fill in the process environment directory and startup command. You can write any name that you can distinguish, and finally click OK.

image

Just keep it running all the time, and you don't need to open the server terminal and enter commands in the future. You can directly access the webpage in the browser by accessing the port.

If you want more convenience, you can do reverse proxy processing.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.