diff options
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/gconf.py')
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/gconf.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/gconf.py b/xlators/features/marker/utils/syncdaemon/gconf.py new file mode 100644 index 00000000000..7bedce5148a --- /dev/null +++ b/xlators/features/marker/utils/syncdaemon/gconf.py @@ -0,0 +1,13 @@ +import os + +class GConf(object): + ssh_ctl_dir = None + ssh_ctl_args = None + cpid = None + + @classmethod + def setup_ssh_ctl(cls, ctld): + cls.ssh_ctl_dir = ctld + cls.ssh_ctl_args = ["-oControlMaster=auto", "-S", os.path.join(ctld, "gsycnd-ssh-%r@%h:%p")] + +gconf = GConf() |