summarylogtreecommitdiffstats
path: root/cf-monitord.service
diff options
context:
space:
mode:
Diffstat (limited to 'cf-monitord.service')
-rw-r--r--cf-monitord.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/cf-monitord.service b/cf-monitord.service
index b76135df2ae..cd8fc2f92d4 100644
--- a/cf-monitord.service
+++ b/cf-monitord.service
@@ -1,6 +1,7 @@
[Unit]
Description=CFEngine Monitoring Daemon
-After=syslog.target
+PartOf=cfengine3.service
+After=network.target
[Service]
ExecStart=/var/cfengine/bin/cf-monitord
@@ -8,4 +9,5 @@ Type=forking
PIDFile=/var/cfengine/cf-monitord.pid
[Install]
+WantedBy=cfengine3.service
WantedBy=multi-user.target