diff --git a/gns3server/modules/deadman/__init__.py b/gns3server/modules/deadman/__init__.py index c5619c96..3ea22783 100644 --- a/gns3server/modules/deadman/__init__.py +++ b/gns3server/modules/deadman/__init__.py @@ -83,6 +83,7 @@ class DeadMan(IModule): cmd.append("--file") cmd.append("%s" % (self._heartbeat_file)) cmd.append("--background") + cmd.append("--debug") log.info("Deadman: Running command: %s"%(cmd)) process = subprocess.Popen(cmd, stderr=subprocess.STDOUT, shell=False) @@ -94,7 +95,6 @@ class DeadMan(IModule): """ cmd = [] - cmd.append("gns3dms") cmd.append("-k") log.info("Deadman: Running command: %s"%(cmd)) diff --git a/gns3server/start_server.py b/gns3server/start_server.py index 79fb8924..c32ed3ca 100644 --- a/gns3server/start_server.py +++ b/gns3server/start_server.py @@ -44,7 +44,7 @@ import uuid SCRIPT_NAME = os.path.basename(__file__) -#Is the full path when used as an import +# This is the full path when used as an import SCRIPT_PATH = os.path.dirname(__file__) if not SCRIPT_PATH: