Controlling Centova Cast

Controlling Centova Cast

Init Script (System V)

For distributions using the System V style system, Centova Cast includes an LSB-compliant init script in /etc/init.d/centovacast which functions similarly to other standard init scripts, i.e.:

  • /etc/init.d/centovacast start -- starts Centova Cast
  • /etc/init.d/centovacast stop -- stops Centova Cast
  • /etc/init.d/centovacast restart -- restarts Centova Cast
  • /etc/init.d/centovacast reload -- reloads configuration files where possible
  • /etc/init.d/centovacast status -- shows process statuses

systemctl (SystemD)

Since 2015, the majority of Linux distributions have adopted systemD having replaced other systems such as UNIX System V. Centova Cast offers SystemD compatibility, you can thus use the systemctl utility to control Centova Cast, for example:

  • systemctl start centovacast.service -- starts Centova Cast
  • systemctl stop centovacast.service -- stops Centova Cast
  • systemctl restart centovacast.service -- restarts Centova Cast
  • systemctl status centovacast.service -- shows process statuses

Independent Process Control

Centova Cast also provides an independent init script in /usr/local/centovacast/centovacast, this is the approved and recommended way to control Centova Cast.

  • /usr/local/centovacast/centovacast start -- starts Centova Cast
  • /usr/local/centovacast/centovacast stop -- stops Centova Cast
  • /usr/local/centovacast/centovacast restart -- restarts Centova Cast
  • /usr/local/centovacast/centovacast reload -- reloads configuration files where possible
  • /usr/local/centovacast/centovacast status -- shows process statuses

Centova Cast's init script also provides functionality for controlling individual Centova Cast processes.

  • /usr/local/centovacast/centovacast start-web -- starts the web interface (cc-web)
  • /usr/local/centovacast/centovacast start-app -- starts the application server (cc-app)
  • /usr/local/centovacast/centovacast start-ccd -- starts the control daemon (cc-control)
  • /usr/local/centovacast/centovacast start-ftp -- starts the FTP server (cc-ftpd)
  • /usr/local/centovacast/centovacast start-img -- starts the image daemon (cc-imaged)

Replace start with stop in each of the above commands to stop the associated process.

During installation Centova Cast is automatically configured to start when your server boots up.