convoy
convoy copied to clipboard
have convoy daemon start at boot
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.
Hi @pimpim
We would work on that. Our next step would be make Convoy as a container in Docker.
Sounds great! Would love to add convoy to my RancherOS setup as service / system-container / catalog-service.
Any progress with convoy as docker container? I need local persistent storage (dm, vfs) and would deploy it as container.
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
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
Anyone interested in a start up script can take a look at #143
Thanks for linking a systemd solution, but could You also provide convoy as a RancherOS system-docker service?