mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
GNS3 server will now create the heardbeat file durining initialization
This commit is contained in:
1 parent
ef492d4690
commit
f876a862c4
2 files changed
+9
-10
No files matched your search
+4
-3
@@ -145,7 +145,6 @@ def parse_cmd_line(argv):
|
||||
else:
|
||||
cmd_line_option_list['syslog'] = ('localhost',514)
|
||||
|
||||
|
||||
get_gns3config(cmd_line_option_list)
|
||||
|
||||
for opt, val in opts:
|
||||
@@ -225,8 +224,10 @@ def get_gns3config(cmd_line_option_list):
|
||||
except configparser.NoSectionError:
|
||||
pass
|
||||
|
||||
cloud_config_file = "%s/.config/GNS3/cloud.conf"
|
||||
if os.path.isfile(cloud_config_file)
|
||||
cloud_config_file = "%s/.config/GNS3/cloud.conf" % (
|
||||
os.path.expanduser("~/"))
|
||||
|
||||
if os.path.isfile(cloud_config_file):
|
||||
config.read(cloud_config_file)
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user