summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-03-03 13:45:42 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-03-03 13:45:42 (GMT)
commitf18ee7fcf02a000dd487a8381d7b02ae4c2e0167 (patch)
treee72ef91503ce074378aa1914de9cb94b6b9fc33b
parentf6c1bdd287984ca7a300766d2ad9cabae81e03d9 (diff)
downloaddefinitions-f18ee7fcf02a000dd487a8381d7b02ae4c2e0167.tar.gz
trove: Make dependency graph of trove-early-setup.service clearer
It's hard to spot the 'reboot' command at the bottom of the list of commands and it's a non-standard thing to do. This change should make it more obvious what goes on during Trove first boot.
-rwxr-xr-xtrove.configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/trove.configure b/trove.configure
index 8982573..38a5d61 100755
--- a/trove.configure
+++ b/trove.configure
@@ -161,6 +161,12 @@ After=local-fs.target
ConditionPathExists=/etc/trove-setup.needed
+# These must wait until we have created the required users on first boot.
+# We reboot the machine after this unit completes so these lines are not
+# strictly required, but it's nice to have a dependency graph that is true.
+Before=lighttpd.service
+Before=git-daemon.service
+
[Service]
Type=oneshot