summaryrefslogtreecommitdiffstats
path: root/scripts/trex_daemon_server
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-08-01 18:48:06 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-08-01 18:48:06 +0300
commit511854b7a8fe289603cb4475a39d713244846ebf (patch)
tree16efc4f16c93e4d0ad6351287d8710a9583cc4fa /scripts/trex_daemon_server
parent5add0c5625a0e46e1451806ca54070b5bcec7ccb (diff)
Python3 support for Stateful daemon
Python 3.5 support in ZMQ Verify ZMQ health in Stateful daemon Add get_trex_config() command to Stateful daemon Strip debug info on Python ZMQ .so files
Diffstat (limited to 'scripts/trex_daemon_server')
-rwxr-xr-xscripts/trex_daemon_server3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/trex_daemon_server b/scripts/trex_daemon_server
index b21a2626..514dbd2d 100755
--- a/scripts/trex_daemon_server
+++ b/scripts/trex_daemon_server
@@ -62,7 +62,7 @@ def get_daemon_pid():
def show_daemon_status():
if get_daemon_pid():
- print(termstyle.red('TRex server daemon is running'))
+ print(termstyle.green('TRex server daemon is running'))
else:
print(termstyle.red('TRex server daemon is NOT running'))
@@ -96,6 +96,7 @@ def start_live():
def restart_daemon():
if get_daemon_pid():
kill_daemon()
+ sleep(0.5)
start_daemon()
def kill_daemon():