summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/gsyncd.in
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-01-27 05:23:35 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-01-27 03:17:20 -0800
commit85300e25f2d47e33b169d14fa9eb0b7cfe39011b (patch)
tree6a00e8790358f1321855122d90a78e669168c1d1 /xlators/features/marker/utils/gsyncd.in
parent7d883898c5225df3f7c38e67274b74ff8ac396c0 (diff)
adding syncdaemon
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2310 (georeplication) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2310
Diffstat (limited to 'xlators/features/marker/utils/gsyncd.in')
-rwxr-xr-xxlators/features/marker/utils/gsyncd.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/gsyncd.in b/xlators/features/marker/utils/gsyncd.in
new file mode 100755
index 00000000000..9bbf8041f36
--- /dev/null
+++ b/xlators/features/marker/utils/gsyncd.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+prefix="@prefix@"
+exec_prefix="@exec_prefix@"
+libexecdir=`eval echo "@libexecdir@"`
+
+PYTHONPATH="$libexecdir"/python exec @PYTHON@ -c "from syncdaemon import gsyncd; gsyncd.main()" -c @sysconfdir@/glusterfs/gsyncd.conf "$@"