#!/bin/sh set -e ROOT="$1" # Clone the Firehose repo git clone git://git.baserock.org/baserock/baserock/firehose # Move Firehose arguments to specific directory and timer/service # files to /etc/systemd mkdir -p "$ROOT"/var/lib/firehose cd firehose/ cp examples/*.yaml "$ROOT"/var/lib/firehose/ cp firehose.service "$ROOT"/etc/systemd/system/firehose.service cp firehose.timer "$ROOT"/etc/systemd/system/firehose.timer # Run the Firehose install script /usr/bin/python ./setup.py install cat >>"$ROOT"/etc/morph.conf <