summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/gconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication/syncdaemon/gconf.py')
-rw-r--r--geo-replication/syncdaemon/gconf.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/gconf.py b/geo-replication/syncdaemon/gconf.py
new file mode 100644
index 000000000..fe5795f16
--- /dev/null
+++ b/geo-replication/syncdaemon/gconf.py
@@ -0,0 +1,15 @@
+import os
+
+class GConf(object):
+ """singleton class to store globals
+ shared between gsyncd modules"""
+
+ ssh_ctl_dir = None
+ ssh_ctl_args = None
+ cpid = None
+ pid_file_owned = False
+ log_exit = False
+ permanent_handles = []
+ log_metadata = {}
+
+gconf = GConf()