zishu's blog

zishu's blog

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

How to achieve process monitoring in Baota?

To facilitate writing, synchronization is available on both the PC and mobile sides. 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. It is not possible for me to keep the command running in the terminal at all times, so I need to put the command in the server backend to keep it running. 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. The name can be any name that you can distinguish, and finally click OK.

image

Just keep it in the startup state, and you don't need to do anything else. In the future, you don't need to open the server terminal and enter commands. You can directly access the webpage in the browser by accessing the port.

If you want more convenience, you can set up reverse proxy processing.

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