Giter Site home page Giter Site logo

Comments (3)

deajan avatar deajan commented on June 16, 2024

There are two ways you can achieve what you want:

  1. Run osync target helper daemon on remote so local osync gets notified when remote file changes occur.
  2. Use the following config to make sure to exit osync if another osync instance is running: LOCAL_RUN_BEFORE_CMD="ps aux | grep \"[o]sync\" || exit 0"

If those don't fit, I could still add a EXIT_IF_OSYNC_ALREADY_RUNNING parameter

from osync.

jmcisvt avatar jmcisvt commented on June 16, 2024

I just disovered the MAX_WAIT parameter. I can run in daemon mode and use MAX_WAIT set to 300 right? I think that will do what I want.

What is an osync target helper daemon? I did not see this in the documentation.

from osync.

deajan avatar deajan commented on June 16, 2024

Documentation isn't updated at the moment for v1.3RC2 which is the git master version.
osync target helper daemon is a service installed on targets in order to detect FS changes and notify initiator which will trigger a sync run.

from osync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.