summaryrefslogtreecommitdiff
path: root/strata/lorry-controller/lorry-controller.morph
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-02 16:55:12 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-02 16:55:12 +0000
commit437c7008a34ff594df9f1bb518ae588e19e80c17 (patch)
tree7c59b8ff81a1682acc6fa997625a623889308726 /strata/lorry-controller/lorry-controller.morph
parent1a0bb1979fa5863c2c19bcf2ab62449a1fa96277 (diff)
parent54d7bc868227201f829ad89d7662babb964e6717 (diff)
downloaddefinitions-437c7008a34ff594df9f1bb518ae588e19e80c17.tar.gz
Merge branch 'baserock/sam/lorry-controller-stratum'
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Reviewed-By: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Diffstat (limited to 'strata/lorry-controller/lorry-controller.morph')
-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/."