summarylogtreecommitdiffstats
path: root/cf-serverd.service
blob: 3aba3f6dc66d4962df9ba6278319b4bc777cd6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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