fix ZSLICE exported to scripts
[cloudstore.git] / client / lsyncd-push.sh
index 9e68a21..18c3e9c 100755 (executable)
@@ -2,4 +2,8 @@
 
 from=/tmp/test
 
-RSYNC_PASSWORD=secret lsyncd -log all -nodaemon -rsync $from rsync://dpavlin@10.60.0.244:6501/dpavlin/`hostname`/$from
+. ./env.sh
+
+LOGIN=u2002
+
+RSYNC_PASSWORD=secret lsyncd -delay 1 -log all -nodaemon -rsync $from rsync://$LOGIN@$IP:$PORT/$LOGIN/`hostname`/$from