Skip to content
This repository
Browse code

updated docs with some new details

  • Loading branch information...
commit 2c809f5792b8057b2b5bba5b3da4081f3d28a13e 1 parent 576e122
philcryer::fak3r authored

Showing 1 changed file with 10 additions and 11 deletions. Show diff stats Hide diff stats

  1. +10 11 docs/INSTALL.rdoc
21 docs/INSTALL.rdoc
Source Rendered
@@ -18,18 +18,18 @@ Verfiy the account was created, and setup a sync directory to sync with
18 18
19 19 == Client install
20 20
21   -Ubuntu (lsyncd 2.0.x)
22   -apt-get install lua5.1 liblua5.1-0-dev liblua50-dev liblualib50-dev
  21 +Debian (Squeeze or earlier) and Ubuntu (lsyncd 2.0.x)
  22 + apt-get install lua5.1 liblua5.1-0-dev liblua50-dev liblualib50-dev
23 23
24 24 wget http://lsyncd.googlecode.com/files/lsyncd-2.0.3.tar.gz
25 25 tar -zxf lsyncd-2.0.3.tar.gz
26 26 cd lsyncd-2.0.3.tar.gz
27 27 ./configure
28   -
  28 +make
  29 +make install
29 30
30 31 Debian (Wheezy and above) (lsyncd 2.0.x)
31   -apt-get install lsyncd
32   -
  32 + apt-get install lsyncd
33 33
34 34 Uninstall/remove
35 35 /etc/init.d/lipsyncd
@@ -37,7 +37,7 @@ Uninstall/remove
37 37 /usr/local/bin/lsyncd
38 38 /usr/bin/lsync*
39 39 /usr/bin/lipsync
40   -
  40 +crontab -u USERNAME -r
41 41
42 42 new CRON:
43 43
@@ -62,24 +62,23 @@ Install lipsync (if installing from git, first apt-get git-core)
62 62 NOTE: during setup, define server IP, path to sync, username and password, so have those ready
63 63
64 64 Then run the setup script
65   - ./setup.sh
  65 + ./install.sh
66 66
67 67 After you've answered the questions, watch the script's output for errors. Then, check the logs to see if lipsyncd started successfully
68   - tail -f /var/log/lipsyncd.log
  68 + tail -f /home/$USERNAME/.lipsyncd/lipsyncd.log
69 69
70 70 = Test
71 71
72 72 == Open 3 terminals
73 73
74 74 === Terminal 1 - on the client, become root and watch the logfile
75   - su - root
76   - tail -f /var/log/lipsyncd.log
  75 + tail -f /home/$USERNAME/.lipsyncd/lipsyncd.log
77 76
78 77 === Terminal 2 - on the client, become your normal user
79 78 su - USER
80 79
81 80 === Terminal 3 - on the server, run a watch on the sync directory
82   - watch ls -l /home/USER/sync
  81 + watch ls -l /home/$USERNAME/sync
83 82 NOTE: this terminal will refresh every 2s by default
84 83
85 84 === Terminal 2 - on the client, create a new file in the sync directory

0 comments on commit 2c809f5

Please sign in to comment.
Something went wrong with that request. Please try again.