Skip to content

Instantly share code, notes, and snippets.

@zhujo01
Last active March 22, 2017 22:01
Show Gist options
  • Save zhujo01/c723f78271c6f93c26d8dd8cd199eebe to your computer and use it in GitHub Desktop.
Save zhujo01/c723f78271c6f93c26d8dd8cd199eebe to your computer and use it in GitHub Desktop.
start_convoy.sh
#!/bin/bash
# https://github.com/rancher/convoy
# need swarm-st to be resolvable to the storage vm
# should just put into /etc/hosts
sudo mount -t nfs swarm-st:/data /data
convoy daemon --drivers vfs --driver-opts vfs.path=/data &
sleep 1
if [ ! -d /data/config ]; then
mkdir -p /data/config
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment