Base de Conhecimento

The upcp-running Script  Imprimir este Artigo

Overview:

The /usr/local/cpanel/scripts/upcp-running script determines whether the upcp script is running. It returns this information in text output and its exit value. A zero exit value indicates that the upcp script is running.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/upcp-running [options]

Options

Use the following options with this script:

  • --invert-exit — Returns a non-zero error value (-1) if the upcp script is running.

    /usr/local/cpanel/scripts/upcp-running --invert-exit
    

Returns

The script will return the following output:

  • upcp is not running. — The upcp script is not running.

  • upcp is running. — The upcp script is running.

Esta resposta foi útil?

Artigos Relacionados

WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...