NAME
smhstartconfig — configures the startup mode of the HPSMH server and of the Tomcat instance used by HPSMH
SYNOPSIS
/opt/hpsmh/bin/smhstartconfig
[-a
{on|off}
| -b
{on|off}]
[-t
{on|off}]
DESCRIPTION
The
smhstartconfig
script is used to configure the startup mode of the HPSMH server and of
the Tomcat instance used by HPSMH.
If no options are specified,
smhstartconfig
displays the current configuration.
The
smhstartconfig
command does not accept simultaneously
-a on
and
-b on
options.
Note:
The
-t on
option will not take effect until at least one Java web
application is registered (i.e., the Tomcat server will not be started
if there are no Java web applications available).
Options
The
smhstartconfig
command supports the followings options:
- -a {on|off}
Enable/disable the "autostart URL" mode
- -b {on|off}
Enable/disable the "automatic startup on boot" mode
- -t {on|off}
Set the Tomcat startup mode where:
- on
Start Tomcat when HPSMH starts.
- off
Start Tomcat on demand (default).
RETURN VALUES
The
smhstartconfig
command returns:
- 0
upon successful completion
- 1
if the command failed
EXAMPLES
Enables autostart:
Shows settings:
HPSMH 'autostart url' mode.........: ON
HPSMH 'start on boot' mode.........: OFF
Start Tomcat when HPSMH starts.....: OFF
WARNINGS
You must be superuser to run
smhstartconfig.
AUTHORS
smhstartconfig
was developed by Hewlett-Packard.