Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleImportant:

You must possess terminal access to use this script and the Ubic subsystem. The system administrator controls this access in WHM's Manage Shell Access interface (WHM >> Home >> Account Functions >> Manage Shell Access) interface.

The /usr/local/cpanel/scripts/cpuser_service_manager script

...

ArgumentDescriptionExample

add service_name --init-script=path

add service_name --ubic-service=path

Set up a user managed and monitored service.

Note
titleNotes:
  • If you use the --init-script option, your script must be a Linux Standard Base (LSB) compliant script.
  • If you use the --ubic-service option, your script must be a Ubic compliant script.
  • The path variable must use an absolute path.


/usr/local/cpanel/scripts/cpuser_service_manager add my_psgi_app --init-script=/path/to/init.file
/usr/local/cpanel/scripts/cpuser_service_manager add my_psgi_app --ubic-service=/path/to/ubic.file
infoDisplay information about how the script works and what it does.
/usr/local/cpanel/scripts/cpuser_service_manager info
listDisplay a list of the user managed and monitored services.
/usr/local/cpanel/scripts/cpuser_service_manager list
remove service_nameRemove a service./usr/local/cpanel/scripts/cpuser_service_manager remove my_psgi_app
hint [argument]

Display the abbreviated help information.

Note
titleNote:

The argument  is is optional. If you specify an argument, only that argument's abbreviated help information will displaydisplays.


/usr/local/cpanel/scripts/cpuser_service_manager hint add
help [argument]

Display the script's help information.

Note

The  The argument  is is optional.  If you specify an argument, only that argument's abbreviated help information will displaydisplays.


/usr/local/cpanel/scripts/cpuser_service_manager help add

...

Warning
titleImportant:

Jailshell users cannot see the status of their previously started Tomcat service. The default jailshell permissions only allow users to view their current session's processes. If they attempt to restart an already active service with Ubic, the system will launch launches a duplicate process.


You can use the following arguments to manage your services with Ubic, where service_name represents the name of the service that you wish to modify:

...

You can view other possible arguments with the man ubic command. 

Additional documentation

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "services" and label = "whm" and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "services" and label = "cpanel" and space = currentSpace()


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "services" and label = "whm" and space in (currentSpace(),"CKB")


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "services" and space = "DD"


...