From b8f06038fec1a098efb95316449effada2998e5b Mon Sep 17 00:00:00 2001 From: xyj <1090822794@qq.com> Date: Tue, 5 Mar 2024 09:31:04 +0800 Subject: [PATCH] update --- forever.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forever.py b/forever.py index b059b9d..ada678b 100644 --- a/forever.py +++ b/forever.py @@ -4,7 +4,7 @@ import subprocess def job(): - subprocess.Popen(['supervisorctl reload'], shell=True) + subprocess.Popen(['supervisorctl restart push_stream'], shell=True) # 每半小时执行一次 @@ -14,4 +14,4 @@ try: schedule.run_pending() time.sleep(5) except Exception as e: - subprocess.Popen(['supervisorctl reload'], shell=True) + subprocess.Popen(['supervisorctl restart push_stream'], shell=True)