summaryrefslogtreecommitdiff
path: root/units/git-daemon.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/git-daemon.service')
-rw-r--r--units/git-daemon.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/units/git-daemon.service b/units/git-daemon.service
index 330169c..fe61257 100644
--- a/units/git-daemon.service
+++ b/units/git-daemon.service
@@ -1,6 +1,11 @@
[Install]
WantedBy=multi-user.target
+# If there's a shared /var subvolume, it must be mounted before this
+# unit runs.
+Requires=local-fs.target
+After=local-fs.target
+
[Unit]
Description=Git Daemon for Trove
After=network.target