mirror of https://github.com/zulip/zulip.git
scripts: Use setup_path in restart-server, stop-server.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
e245f51974
commit
d257002ad8
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue