summaryrefslogtreecommitdiff
path: root/lorry-controller.morph
blob: 9f1623aff546300354e1d40185010a80134f76cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 .