Last active
March 22, 2017 22:01
-
-
Save zhujo01/c723f78271c6f93c26d8dd8cd199eebe to your computer and use it in GitHub Desktop.
start_convoy.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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