summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2015-03-02 12:52:22 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-03 04:51:39 -0800
commit1dc89418ec39929f6f9de448da85966beffeef27 (patch)
tree820f060cc1a2c17a79bf12a36a775318336896c8 /cli
parenta5b02c0d71c7952ebbb24b1075c216cc76761956 (diff)
quota: quotad.socket files should be created under /var/run/gluster
Change-Id: I49502a4f7516c02f7e321c16eebd748545afde07 BUG: 1197587 Signed-off-by: vmallika <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/9778 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-quotad-client.c2
-rw-r--r--cli/src/cli.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-quotad-client.c b/cli/src/cli-quotad-client.c
index f0efc8640bd..7c1651936c7 100644
--- a/cli/src/cli-quotad-client.c
+++ b/cli/src/cli-quotad-client.c
@@ -127,7 +127,7 @@ cli_quotad_clnt_init (xlator_t *this, dict_t *options)
goto out;
ret = dict_set_str (options, "transport.socket.connect-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;
diff --git a/cli/src/cli.c b/cli/src/cli.c
index cd2825e9c4a..54236344569 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -548,7 +548,7 @@ cli_quotad_clnt_rpc_init (void)
goto out;
ret = dict_set_str (rpc_opts, "transport.socket.connect-path",
- "/tmp/quotad.socket");
+ "/var/run/gluster/quotad.socket");
if (ret)
goto out;