Hello,

I'm in trouble to make s3ql start automatically on Ubuntu 14.04. I've 
created this upstart script:

start on (filesystem and net-device-up IFACE=p119p1)

stop on runlevel [016]

env BUCKET="gs://ideiao"
env MOUNTPOINT="/mnt/gstore"
env AUTHFILE="/myetc/s3ql/auth/s3ql_authinfo"
env CACHEDIR="/myetc/s3ql/cache/"



expect stop

script
    # Check and mount file system
    fsck.s3ql           --authfile "$AUTHFILE" \
                        --cachedir "$CACHEDIR" \
                        --log "syslog" \
                        "$BUCKET"

    exec mount.s3ql     --authfile "$AUTHFILE" \
                        --cachedir "$CACHEDIR" \
                        --log "syslog"  \
                        --metadata-upload-interval 3600 \
                        --upstart  \
                        --allow-other \
                        "$BUCKET" \
                        "$MOUNTPOINT"

end script

pre-stop script
    umount.s3ql --lazy  "$MOUNTPOINT"
end script



It runs correctly when started manually, but never starts on reboot,

Can anyone help?

Thanks.

Alexandre

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to