Node: Installation of cfd, Next: , Previous: Configuring cfd, Up: Configuring cfd



Installation of cfd

To install the cfengine daemon component, you will need to register a port for cfengine by adding the following line to the system file /etc/services file

     
        cfengine        5308/tcp
     
     

You could do this for all hosts by adding the following to your cfengine configuration

     
     editfiles:
     
       { /etc/services
     
        AppendIfNoSuchLine "cfengine        5308/tcp"
       }
     
     

To start cfengine at boot time, you need to place a line of the following type in your system startup files:

     
     # Start cfengine server
     cfd
     
     

Note that cfd will reread its configuration file whenever it detects that it has been changed, so you should not have to restart the daemon, not send it the HUP signal as with other daemons.