rsync not running with upstart

Francis.Montagnac at Francis.Montagnac at
Fri May 3 05:04:05 MDT 2013


On Fri, 03 May 2013 11:45:24 +0200 bert wrote:
> When running the script from upstart, rsync exists with a error 14,
>  some error that has something to do ipc codes. (What are ipc codes?)

I think I saw that already. It was a bug in a library that assumes
that stdin stdout stderr are opened.

Try thus to open them in your script, for example:

    #!/bin/bash -p
    exec < /dev/null >& /tmp/backup.log

    rsync all servers
    wait till next day
    exit 0 ## 0 means success here


More information about the rsync mailing list