Results 1 to 4 of 4

Thread: How to start rsync in daemon mode every time system turns on

  1. #1
    Join Date
    Mar 2010
    Location
    Perth, Western Australia
    Beans
    8
    Distro
    Ubuntu 8.04 Hardy Heron

    Smile How to start rsync in daemon mode every time system turns on

    Hey guys,

    I have a Linux box, running rsync, only problem is, I have to turn it off at night. What I want to do is turn it on and when it turns on, rsync will already be running in daemon mode rather then having to run rsync --daemon. Does anyone know the solution? I'm sure its simple, I just cannot figure it out

  2. #2
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    8,369

    Re: How to start rsync in daemon mode every time system turns on

    I have never used the rsync daemon, since it is not secure. It is better to run rsync over ssh using the sshd daemon. See the man page. The command is basically rsync -e ssh yadda yadda

  3. #3
    Join Date
    Mar 2010
    Location
    Perth, Western Australia
    Beans
    8
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to start rsync in daemon mode every time system turns on

    I'm just running this over my network at home, this isn't over the net or anything, otherwise I would do it over SSH, The reason why I want to do this is because I want to make it automated from my home PC using a password file in clear text, yeah insecure, but its running at home not corporate

  4. #4
    Join Date
    Apr 2009
    Beans
    1,173

    Re: How to start rsync in daemon mode every time system turns on

    Quote Originally Posted by DaF1oh1 View Post
    when it turns on, rsync will already be running in daemon mode rather then having to run rsync --daemon.
    Edit /etc/default/rsync to contain RSYNC_ENABLE=true.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •