scripts: Use setup_path in restart-server, stop-server.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-10-12 11:40:54 -07:00 committed by Anders Kaseorg
parent e245f51974
commit d257002ad8
2 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,10 @@ import sys
import time import time
sys.path.append(os.path.join(os.path.dirname(__file__), "..")) sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
from scripts.lib.setup_path import setup_path
setup_path()
from scripts.lib.supervisor import list_supervisor_processes from scripts.lib.supervisor import list_supervisor_processes
from scripts.lib.zulip_tools import ( from scripts.lib.zulip_tools import (
DEPLOYMENTS_DIR, DEPLOYMENTS_DIR,

View File

@ -7,6 +7,10 @@ import sys
import time import time
sys.path.append(os.path.join(os.path.dirname(__file__), "..")) sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
from scripts.lib.setup_path import setup_path
setup_path()
from scripts.lib.supervisor import list_supervisor_processes from scripts.lib.supervisor import list_supervisor_processes
from scripts.lib.zulip_tools import ( from scripts.lib.zulip_tools import (
ENDC, ENDC,