A simple wrapper for managing lsyncd instances. Hookline is useful for developers who usually modify code in a working copy for some version control system but push to a centalized server for testing, scheduled builds, or continuous integration.
It is important to note that unlike traditional SFTP, this will sync regularly and consistently to your development environment. This is an ideal solution for those who may normally mount and work directly on SFTP, but cannot or would not want the remote copy to also be their working copy.
- lsyncd
- rsync
- sudo (for install) or
cp ./hookline/hookline.sh /usr/bin/hookline
as root - standard GNU utilities
git clone https://github.com/dotink/hookline.git
./hookline/hookline.sh install
hookline add <alias> <source> <test>
hookline add dev.example.com /home/user/code/example.com [email protected]:/var/www/example.com/dev
hookline del <alias>
hookline del dev.example.com
hookline stat
hookline start <alias>
hookline start dev.example.com
hookline stop <alias>
hookline stop dev.example.com
hookline killall
hookline tail