Skip to content

Commit cf5d0b4

Browse files
committed
update init.py
1 parent b778cc6 commit cf5d0b4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/jupyter_glances_proxy/__init.__py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@ def run_app():
6767
logger.debug(f"[{user}] Launch Command: {executable_name}")
6868
return {
6969
"command": [
70-
executable_name,
71-
f"--host={host}",
72-
"--listen={port}",
73-
"--debug",
74-
"--sessions",
70+
"glances",
71+
"--webserver",
72+
f"--bind={host}",
73+
"--port={port}",
74+
"--disable-plugin=all",
75+
"--enable-plugin=cpu,core,mem,memswap,load,now,processcount,processlist,system,uptime,cloud,fs,folders,ip,network",
7576
],
7677
"timeout": 100,
7778
"environment": _get_env,

0 commit comments

Comments
 (0)