Automatic Startup

Top  Previous  Next

Systemd or Init.d Systems

The setup.sh script will attempt to establish cp20s as a service that starts when the server boots, and also can be controlled by the system's normal init programs, either "service" or "systemctl".  This setup looks for either systemd, chkconfig, or update-rc.d programs to perform the appropriate steps.

 

Manual Settings

If your system does not have one of these standard features, you can use manual setup.  There are several techniques for this, and they can vary by your exact operating system.  Some common methods are:

 

Add a line to /etc/inittab to run "cp20s start" one time at all regular run levels
 
cp20s:2345:once:/usr/bin/cp20s start

 

Create a script S99cirrus, and place this script in any /etc/rc#.d directory associated with normal run levels (typically /etc/rc2.d, /etc/rc3.d, or /etc/rc5.d).  It doesn't hurt to place the script in levels 2, 3, and 5.  The script can be as simple as:
 
#!/bin/sh
cp20s start