From 54d7bc868227201f829ad89d7662babb964e6717 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 27 Jan 2015 10:19:34 +0000 Subject: Move lorry-controller into its own stratum This allows using it separately from Trove. I want to use it in the gerrit.baserock.org system to handle mirroring from git.baserock.org, at least initially. --- strata/lorry-controller/lorry-controller.morph | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 strata/lorry-controller/lorry-controller.morph (limited to 'strata/lorry-controller/lorry-controller.morph') diff --git a/strata/lorry-controller/lorry-controller.morph b/strata/lorry-controller/lorry-controller.morph new file mode 100644 index 00000000..2f90a9a1 --- /dev/null +++ b/strata/lorry-controller/lorry-controller.morph @@ -0,0 +1,10 @@ +name: lorry-controller +kind: chunk +build-system: python-distutils +post-install-commands: +- install -d 0755 "$DESTDIR/etc/lighttpd" +- install -m 0644 -D etc/lighttpd/*.conf "$DESTDIR/etc/lighttpd/." +- | + TGT="$DESTDIR/usr/lib/systemd/system" + install -d "$TGT/multi-user.target.wants" + install -m 0644 units/*.service units/*.timer "$TGT/." -- cgit v1.2.1