diff options
Diffstat (limited to 'INSTALL/cfengine/cf-serverd.service')
-rw-r--r-- | INSTALL/cfengine/cf-serverd.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/INSTALL/cfengine/cf-serverd.service b/INSTALL/cfengine/cf-serverd.service new file mode 100644 index 0000000..3aba3f6 --- /dev/null +++ b/INSTALL/cfengine/cf-serverd.service @@ -0,0 +1,22 @@ +[Unit] +Description=CFEngine Server Daemon +Documentation=man:cf-serverd https://docs.cfengine.com/latest/reference-components-cf-serverd.html + +After=network.target + +# The following ensures that the service is activated only if we have a +# promises.cf in place. +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-serverd +Type=forking +PIDFile=/var/cfengine/cf-serverd.pid + + |