summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-06-27 16:39:10 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-07-07 13:30:40 +0000
commit200ac0a9b1240966465188bb518f592826a301f0 (patch)
tree865cdd2a69d30f416643d88bec4bdcbe9d18f335
parenta1391120ed267bc0b809482cb7282ea032b3cfca (diff)
downloadtrove-setup-200ac0a9b1240966465188bb518f592826a301f0.tar.gz
Do not enable the units when installing.
They aren't eligible to be started until they are configured, and Ansible handles both the initial start, and configuring them to start automatically on next boot.
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0559468..52e3106 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,7 @@
install:
mkdir -p "${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants"
cp units/* "${DESTDIR}/usr/lib/systemd/system"
- for I in $$(cd units; ls); do \
- ln -sf ../$$I "${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants/$$I"; \
- done
+ ln -sf ../trove-setup.service "${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants/trove-setup.service"
cp -r etc "${DESTDIR}"
mkdir -p "${DESTDIR}/var/www/htdocs"
cp http-assets/* "${DESTDIR}/var/www/htdocs"