Valid for versions 82 through the latest version


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 scripts help documentation. --help

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.

Was this answer helpful? 0 Users Found This Useful (0 Votes)