/usr/share/cfengine3/masterfiles/templates/cf-hub.service.mustache is in cfengine3 3.10.2-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [Unit]
Description=CFEngine Enterprise Hub Report Collector
PartOf=cfengine3.service
ConditionPathExists={{{vars.sys.bindir}}}/cf-hub
After=syslog.target
After=network.target
After=cf-redis-server.service
Requires=cf-redis-server.service
BindsTo=cf-redis-server.service
[Service]
Type=simple
ExecStart={{{vars.sys.bindir}}}/cf-hub -F --verbose
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
WantedBy=cfengine3.service
WantedBy=cf-redis-server.service
|