From e9de8f0af0223971999415d5cdedb0714ed72da9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 2 Oct 2016 14:13:42 +0200 Subject: updated cfengine PKGBUILD dir --- INSTALL/cfengine/cf-execd.service | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 INSTALL/cfengine/cf-execd.service (limited to 'INSTALL/cfengine/cf-execd.service') diff --git a/INSTALL/cfengine/cf-execd.service b/INSTALL/cfengine/cf-execd.service new file mode 100644 index 0000000..9c05e81 --- /dev/null +++ b/INSTALL/cfengine/cf-execd.service @@ -0,0 +1,27 @@ +[Unit] +Description=CFEngine Execution Daemon +Documentation=man:cf-execd https://docs.cfengine.com/latest/reference-components-cf-execd.html + +After=network.target + +# The following ensures that the service is activated only if we have a +# promises.cf in place. If there is no promises.cf, there is no configuration +# for the service either... +ConditionPathExists=/var/cfengine/inputs/promises.cf + +# The following allows stopping/restarting of this service when +# cfengine3.serice is stopped/restarted +PartOf=cfengine3.service + +[Install] +# The following ensures that the symlink to this unit is created in the +# cfengine3.service.requires/ directory when this unit is enabled +# with "systemctl enable" command, and removed with "systemctl disable" +RequiredBy=cfengine3.service + +[Service] +ExecStart=/var/cfengine/bin/cf-execd +Type=forking +PIDFile=/var/cfengine/cf-execd.pid + + -- cgit v1.2.3-54-g00ecf