summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrove.configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/trove.configure b/trove.configure
index a28b11c..ce04a22 100755
--- a/trove.configure
+++ b/trove.configure
@@ -154,8 +154,14 @@ After=opensshd.service
# unit runs.
Requires=local-fs.target
After=local-fs.target
+
ConditionPathExists=/etc/trove-setup.needed
+# These must wait until we have created the required users on first boot.
+Before=lighttpd.service
+Before=git-daemon.service
+
+
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'ssh-keyscan localhost $UPSTREAM_TROVE> /etc/ssh/ssh_known_hosts'