diff options
Diffstat (limited to 'lorry-controller.morph')
-rw-r--r-- | lorry-controller.morph | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lorry-controller.morph b/lorry-controller.morph new file mode 100644 index 0000000..9f1623a --- /dev/null +++ b/lorry-controller.morph @@ -0,0 +1,14 @@ +build-system: python-distutils +kind: chunk +name: lorry-controller +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/." + cd "$TGT/multi-user.target.wants" + # Ignore template units for symlinking. The template units will be + # instantiated at deploy time by trove.configure. + ln -s ../*[^@].service ../*[^@].timer . |