diff options
| author | Csaba Henk <csaba@gluster.com> | 2011-03-17 11:44:25 +0000 | 
|---|---|---|
| committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-17 23:27:34 -0700 | 
| commit | 6d8077eb9c7129f4bdb352132e565906568dfb66 (patch) | |
| tree | 8fb8dc6b9c7e684cd77ea05f4eaef3f87ab2c5a0 | |
| parent | 223bfc4d19a2b7cccc62e05129e09591233edc44 (diff) | |
Revert "syncdaemon: make /usr/libexec/gsyncd the default remote gsyncd (incomplete hacky quickfix)"
This reverts commit 8c801cfd05eb533ae64ea9f06e49e632955cf0c0.
The commit in question was just a temporary fix (which violated
component boundaries).
Since 9043b0f8 we don't rely on this fix.
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Vijay Bellur <vijay@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 e34a6bcb2..d5772013e 100644 --- a/xlators/features/marker/utils/syncdaemon/gsyncd.py +++ b/xlators/features/marker/utils/syncdaemon/gsyncd.py @@ -186,7 +186,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='/usr/libexec/gsyncd') +    op.add_option('-r', '--remote-gsyncd', metavar='CMD',   default=os.path.abspath(sys.argv[0]))      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)  | 
