From f18ee7fcf02a000dd487a8381d7b02ae4c2e0167 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 3 Mar 2014 13:45:42 +0000 Subject: 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. --- trove.configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'trove.configure') diff --git a/trove.configure b/trove.configure index 89825733..38a5d614 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 -- cgit v1.2.1