diff options
author | nicolargo <nicolas@nicolargo.com> | 2023-12-02 16:41:52 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2023-12-02 16:41:52 +0100 |
commit | 5fa7ae42641ca8e53d993d17d4b2b31eedf9563c (patch) | |
tree | 27b706d18d76fe866be28507c1b1e4d211359379 /unitest-restful.py | |
parent | 322d8c715aa749ad804ffc8e154a2c1e363fb9a8 (diff) |
WARNING: Replace the get_raw command for processlist
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-x | unitest-restful.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unitest-restful.py b/unitest-restful.py index 17e734e1..dd725f2c 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -54,12 +54,12 @@ class TestGlances(unittest.TestCase): """Start the Glances Web Server.""" global pid - print('INFO: [TEST_000] Start the Glances Web Server') + print('INFO: [TEST_000] Start the Glances Web Server API') if os.path.isfile('./venv/bin/python'): cmdline = "./venv/bin/python" else: cmdline = "python" - cmdline += " -m glances -B localhost -w -p %s" % SERVER_PORT + cmdline += " -m glances -B 0.0.0.0 -w -p %s --disable-webui" % SERVER_PORT print("Run the Glances Web Server on port %s" % SERVER_PORT) args = shlex.split(cmdline) pid = subprocess.Popen(args) |