diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-01-27 10:19:34 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-03-02 16:55:03 +0000 |
commit | 54d7bc868227201f829ad89d7662babb964e6717 (patch) | |
tree | 23ad5ea8e3e839ef12017363886729ba15e13ae1 /strata/lorry-controller | |
parent | 3d0e225e7d5db6edc456dd28f13cbf388e9c1929 (diff) | |
download | definitions-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.morph | 10 |
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/." |