The upcp-running Script
Valid for versions 82 through the latest version
Version:
82
Last modified: July 20, 2021
Overview
The /usr/local/cpanel/scripts/upcp-running
script returns whether 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
Option | Description | Example |
---|---|---|
--invert-exit |
Returns a non-zero error value (-1 ) if the upcp script is running. |
--invert-exit |
--help |
Display the script’s help documentation. | --help |
Returns
The script will return the following output:
-
upcp is not running.
— Theupcp
script is not running. -
upcp is running.
— Theupcp
script is running.