cldetect

Navigation:  Limits > Command Line Tools >

cldetect

Previous pageReturn to chapter overviewNext page

[lve-utils 1.2-10+]

 

cldetect is used to detect installed software, and adjust CloudLinux options accordingly.

 

Usage: /usr/bin/cldetect [--options]

      -h | --help                        show this message

     --detect-cp                         prints control panel and its version (CP_NAME,CP_VERSION)

     --detect-cp-nameonly                prints control panel name (CP_NAME)

     --cxs-installed                     check if CXS is installed. Returns 0 if installed, 1 otherwise

     --cpanel-suphp-enabled              check if suPHP is enabled in cPanel. Returns 0 if enabled, 1 otherwise

     --detect-litespeed                  check if LiteSpeed is installed. Returns 0 if installed, 1 otherwise

     --detect-postgresql                 check if PostGreSQL is installed. Returns 0 if installed, 1 otherwise

     --print-apache-gid                  prints current apache gid

     --print-da-admin                    prints DirectAdmin admin user

     --set-securelinks-gid               changes /etc/sysctl.conf if apache gid != 48 (default)