diff options
author | Csaba Henk <csaba@gluster.com> | 2011-02-14 16:42:04 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-14 14:31:58 -0800 |
commit | 8c801cfd05eb533ae64ea9f06e49e632955cf0c0 (patch) | |
tree | 7dc600a14f8989fbc4678ca0a9286adc5347ab15 | |
parent | 248a1b7d387832dd97f43eb74b8b9d168292f3a0 (diff) |
syncdaemon: make /usr/libexec/gsyncd the default remote gsyncd (incomplete hacky quickfix)
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2427 (set a proper default for remote syncdaemon)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2427
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/gsyncd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/gsyncd.py b/xlators/features/marker/utils/syncdaemon/gsyncd.py index f9022df3af4..fedf1fbdb0c 100644 --- a/xlators/features/marker/utils/syncdaemon/gsyncd.py +++ b/xlators/features/marker/utils/syncdaemon/gsyncd.py @@ -162,7 +162,7 @@ def main_i(): op.add_option('-p', '--pid-file', metavar='PIDF', type=str, action='callback', callback=store_abs) op.add_option('-l', '--log-file', metavar='LOGF', type=str, action='callback', callback=store_abs) op.add_option('-L', '--log-level', metavar='LVL') - op.add_option('-r', '--remote-gsyncd', metavar='CMD', default=os.path.abspath(sys.argv[0])) + op.add_option('-r', '--remote-gsyncd', metavar='CMD', default='/usr/libexec/gsyncd') op.add_option('-s', '--ssh-command', metavar='CMD', default='ssh') op.add_option('--rsync-command', metavar='CMD', default='rsync') op.add_option('--rsync-extra', metavar='ARGS', default='-sS', help=SUPPRESS_HELP) |