summaryrefslogtreecommitdiff
path: root/strata/lorry-controller/lorry-controller.morph
diff options
context:
space:
mode:
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/."