convoy icon indicating copy to clipboard operation
convoy copied to clipboard

have convoy daemon start at boot

Open ps-account opened this issue 10 years ago • 7 comments

Maybe a follow up to: https://github.com/rancher/convoy/issues/21

It would be nice if a wrapper script was included for /etc/init.d or other ways to start the convoy daemon at boot.

ps-account avatar Nov 09 '15 13:11 ps-account

Hi @pimpim

We would work on that. Our next step would be make Convoy as a container in Docker.

yasker avatar Nov 09 '15 19:11 yasker

Sounds great! Would love to add convoy to my RancherOS setup as service / system-container / catalog-service.

pwFoo avatar Dec 04 '15 11:12 pwFoo

Any progress with convoy as docker container? I need local persistent storage (dm, vfs) and would deploy it as container.

pwFoo avatar Dec 13 '15 09:12 pwFoo

I happen to have an init.d script right here. It's not the most robust, but it gets the job done (and I agree a container is preferable anyway).

A container is super easy (as in just add the binaries). I've been running this:

FROM busybox
COPY convoy /usr/bin/convoy
COPY convoy-pdata_tools /usr/bin/convoy-pdata_tools
CMD /usr/bin/convoy daemon --drivers vfs --driver-opts vfs.path=/var/lib/convoy/volumes
VOLUME /var/lib/convoy
VOLUME /var/run/convoy

colebrumley avatar Dec 22 '15 21:12 colebrumley

An official convoy container and RancherOS os-service would be great. I posted my own solution here with tow comments: https://github.com/rancher/os/issues/706#issuecomment-168434624

pwFoo avatar Jan 03 '16 08:01 pwFoo

Anyone interested in a start up script can take a look at #143

yasker avatar Aug 30 '16 22:08 yasker

Thanks for linking a systemd solution, but could You also provide convoy as a RancherOS system-docker service?

pwFoo avatar Aug 31 '16 06:08 pwFoo