summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/gsyncd.in
diff options
context:
space:
mode:
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 "$@"