summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Darley <patrick.darley@codethink.co.uk>2015-02-19 11:10:15 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-27 17:24:13 +0000
commit6d2c130a4f1a87223222d31240630da496ebce20 (patch)
treee7681e2538be1c4196c0e064b7600cc03ff50cd6
parent0af72d076f2c20a724436581622cdf2d7e6d9bda (diff)
downloaddefinitions-6d2c130a4f1a87223222d31240630da496ebce20.tar.gz
Install systemd unit provided with rsync
-rw-r--r--strata/tools/rsync.morph3
1 files changed, 3 insertions, 0 deletions
diff --git a/strata/tools/rsync.morph b/strata/tools/rsync.morph
index 9a92878d..7b99bdd9 100644
--- a/strata/tools/rsync.morph
+++ b/strata/tools/rsync.morph
@@ -4,3 +4,6 @@ build-system: autotools
build-commands:
- make proto
- make
+install-commands:
+- make install
+- install -D -m 755 packaging/systemd/rsync.service "$DESTDIR"/etc/systemd/system/rsync.service