View Single Post
Old 20th December 2011, 13:57
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE

Just solved it on my own this is how i did it:

I followed this guide for syncing /var/www

Then I modified the config file for Unison to use /var as a root and sync both /var/www and /var/vmail:

# Roots of the synchronization
root = /var
root = ssh://

# Paths to synchronize
#path = current
#path = common
#path = .netscape/bookmarks.html
path = www
path = vmail
Reply With Quote