summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-10-20 12:26:52 (GMT)
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-10-27 09:09:37 (GMT)
commit8de65c89a16cd78cc4757d50b7d4454cb1d9691f (patch)
treee3c6483796e45b1847eef6781dad873bb1ed457c
parentee5a2bda0f645315376833c2ad91d7c3314c8c0b (diff)
downloaddefinitions-8de65c89a16cd78cc4757d50b7d4454cb1d9691f.tar.gz
Stop mason.service starting before mason-setup.service has completed
-rw-r--r--mason.configure1
-rw-r--r--mason/mason.service1
2 files changed, 1 insertions, 1 deletions
diff --git a/mason.configure b/mason.configure
index 0c34570..d0abbf1 100644
--- a/mason.configure
+++ b/mason.configure
@@ -142,5 +142,4 @@ fi
##########################################################################
ln -s ../mason.timer "$ROOT"/etc/systemd/system/multi-user.target.wants/mason.timer
-ln -s ../mason.service "$ROOT"/etc/systemd/system/multi-user.target.wants/mason.service
ln -s ../httpd.service "$ROOT"/etc/systemd/system/multi-user.target.wants/httpd.service
diff --git a/mason/mason.service b/mason/mason.service
index ab2338c..a864d61 100644
--- a/mason/mason.service
+++ b/mason/mason.service
@@ -1,5 +1,6 @@
[Unit]
Description=Mason: Continuous Delivery Service
+After=mason-setup.service
[Service]
User=root