lsyncd config file

Just need to store this somewhere in case I need it again for work. This config will sync a (Magento) website to another server and exclude a few directories as well.

Lsyncd.conf

Lsyncd.exclude

Then we need to increase inotify.max_user_watches since we are dealing with a huge site (for after reboot):

And add at the end:

To change the running server without rebooting (this is not permanent unless to you changed sysctl.conf as well!)

Leave a Reply