summaryrefslogtreecommitdiff
path: root/units/lighttpd-git.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/lighttpd-git.service')
-rw-r--r--units/lighttpd-git.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/units/lighttpd-git.service b/units/lighttpd-git.service
index 94c67a4..69dcc34 100644
--- a/units/lighttpd-git.service
+++ b/units/lighttpd-git.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=Lighttpd Web Server
After=network.target