From 99d01b2ed0b380d603fb04fc08420d8d831fb156 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:33:20 -0300 Subject: [PATCH] Improve monitor mode section --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 41423ce..32cb297 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ Having multiple conf files can then be run in a single cron command like ### :mag_right: Monitor mode > [!NOTE] -> Monitoring changes requires inotifywait command (inotify-tools package for most Linux distributions) BSD, macOS and Windows are not yet supported for this operation mode, unless you find an inotify-tools package on these OSes. +> Monitoring changes requires inotifywait command (`inotify-tools` package for most Linux distributions). BSD, macOS and Windows are not yet supported for this operation mode, unless you find an `inotify-tool` package on these OSes. Monitor mode will perform a sync upon file operations on initiator replica. This can be a drawback on functionality versus scheduled mode because this mode only launches a sync task if there are file modifications on the initiator replica, without being able to monitor the target replica. Target replica changes are only synced when initiator replica changes occur, or when a given amount of time (600 seconds by default) passed without any changes on initiator replica. @@ -174,7 +174,7 @@ To use this mode, use `--on-changes`: # osync.sh /etc/osync/my_sync.conf --on-changes -To run this mode as system service with the `osync-srv` script, you can run the `install.sh` script (which should work in most cases) or copy the files by hand: +To run this mode as a system service with the `osync-srv` script, you can run the `install.sh` script (which should work in most cases) or copy the files by hand: - `osync.sh` to `/usr/bin/local` - `sync.conf` to `/etc/osync` - For InitV, `osync-srv` to `/etc/init.d`