summarylogtreecommitdiffstats
path: root/cf-monitord.service
diff options
context:
space:
mode:
authorVanush "Misha" Paturyan2016-04-25 12:30:34 +0100
committerVanush "Misha" Paturyan2016-04-25 12:58:27 +0100
commit6e65e83f1294b3870ff9cab97a33b5fd38878a39 (patch)
tree3b7d794f7dd61873712dcfc697b560d721592607 /cf-monitord.service
parent19820c7482c443239f787c995622f1238884c3fd (diff)
downloadaur-6e65e83f1294b3870ff9cab97a33b5fd38878a39.tar.gz
Adding cfengine3.service systemctl file
Masterfiles included in this package are attempting to restart cfengine3.service on a bootstrap. This patch introduces cfengine3.service file that depends on existing cf-execd, cf-monitord and cf-serverd services
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