summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/syncdaemon/gconf.py
blob: 7bedce5148a9e22bba635746cecec0d3c573a15a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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()