Schedule Restarts for SuperVisord-Managed Processes in BT Panel
This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文
Originally published at https://www.q58.club/t/topic/345
Find the installation path of supervisorctl
sudo find / -name supervisorctl
#Expected output
/www/server/panel/pyenv/bin/supervisorctl
Check the currently running tasks
/www/server/panel/pyenv/bin/supervisorctl status
#Example output
chat_api:chat_api_00 RUNNING pid 3930894, uptime 0:53:21
Edit the scheduled task

Scheduled task script:
/www/server/panel/pyenv/bin/supervisorctl restart chat_api:chat_api_00
Test run

Comments 0