summaryrefslogtreecommitdiffstats
path: root/scripts/trex_daemon_server
diff options
context:
space:
mode:
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():