Commands to operate Mediaserver

On this page, you find the commands to run that are related to operations of Mediaserver. The list includes the commands to perform the following actions:

  • View a server status.

  • Restart a service.

  • Start a service.

  • Stop a service.

  • Record and read logs.

View a server status

To view a server status, run the command:

Bash
sudo service vsaas status

Restart a service

A service restart is required when the configuration files are changed. Run the command:

Bash
sudo service vsaas restart

Start a service

Start the server after it was stopped for various reasons. Run the command:

sudo service vsaas start

Stop a service

It is required to stop a service when performing backup and recovery. Run the command:

sudo service vsaas stop

Logs

Logs and errors are recorded in their designated files:

/var/log/vsaas/media-server.log /var/log/vsaas/media-server.err 

View the service logs:

journalctl -u vsaas