summaryrefslogtreecommitdiff
path: root/strata/lorry-controller
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-27 10:19:34 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-02 16:55:03 +0000
commit54d7bc868227201f829ad89d7662babb964e6717 (patch)
tree23ad5ea8e3e839ef12017363886729ba15e13ae1 /strata/lorry-controller
parent3d0e225e7d5db6edc456dd28f13cbf388e9c1929 (diff)
downloaddefinitions-54d7bc868227201f829ad89d7662babb964e6717.tar.gz
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.
Diffstat (limited to 'strata/lorry-controller')
-rw-r--r--strata/lorry-controller/lorry-controller.morph10
1 files changed, 10 insertions, 0 deletions
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/."