summaryrefslogtreecommitdiffstats
path: root/vstf/vstf/common/daemon.py
diff options
context:
space:
mode:
authorYiting.Li <liyiting@huawei.com>2016-01-19 14:39:31 +0800
committerYiting.Li <liyiting@huawei.com>2016-01-19 14:39:31 +0800
commit5b4f794932cb9b28ec679e6dd88e6febb2a5db7b (patch)
treed7b2615275a93ef1c2c878a0732b687832267174 /vstf/vstf/common/daemon.py
parent827a986f4abc404dc803380a25d5e9ade7448f67 (diff)
JIRA: BOTTLENECKS-29
add the performance test framework add the copyright on the code. Change-Id: I6ec9eefe65bf07c2dd6c636d1b90b64da303952e Signed-off-by: Yiting.Li <liyiting@huawei.com>
Diffstat (limited to 'vstf/vstf/common/daemon.py')
-rwxr-xr-xvstf/vstf/common/daemon.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/vstf/vstf/common/daemon.py b/vstf/vstf/common/daemon.py
index 8a298614..1085d36c 100755
--- a/vstf/vstf/common/daemon.py
+++ b/vstf/vstf/common/daemon.py
@@ -1,4 +1,12 @@
-#!/usr/bin/env python
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
import sys, os, time, atexit
import logging
from signal import SIGTERM