~daisy-pluckers/charms/xenial/daisy-retracer/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -eux

. hooks/common

# Fetch Daisy code from swift
fetch_code "/tmp" "daisy"

# stop the retracers
retracers_stop

# Unpack tarred Daisy code
deploy_code "/tmp/daisy.tgz" $CODE_LOCATION $DAISY_CODE_DIRS

# start the services
retracers_start