public static class SimulatedNginxControllerImpl.SimulatedNginxSshDriver extends NginxSshDriver
log, NGINX_PID_FILE
CHECK_RUNNING, CUSTOMIZING, DEBUG, IGNORE_ENTITY_SSH_FLAGS, INSTALL_INCOMPLETE, INSTALLING, KILLING, LAUNCHING, logSsh, NON_STANDARD_LAYOUT, PID_FILENAME, PROCESS_OWNER, RESTARTING, STOPPING, USE_PID_FILE, VALID_FLAGS
Constructor and Description |
---|
SimulatedNginxSshDriver(SimulatedNginxControllerImpl entity,
SshMachineLocation machine) |
Modifier and Type | Method and Description |
---|---|
void |
customize()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
void |
install()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
void |
launch()
Implementations should fail if the return code is non-zero, by throwing some appropriate exception.
|
void |
stop()
Performs software stop (or queues tasks to do this)
|
getAccessLogLocation, getEntity, getErrorLogLocation, getHttpPort, getLogFileLocation, getPidFile, getPort, isCustomizationCompleted, isRunning, kill, postLaunch, rebind, reload, sudoBashCIfPrivilegedPort, sudoIfPrivilegedPort
checkNoHostnameBug, copyCustomizeResources, copyInstallResources, copyPreInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getHostname, getLocation, getMachine, getPortsUsed, getSubnetAddress, getSubnetHostname, prepare, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommand, setup
copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyRuntimeResources, copyTemplate, copyTemplate, copyTemplate, getArchiveNameFormat, getExpandedInstallDir, getInstallDir, getResource, getResourceAsString, getRunDir, getShellEnvironment, getVersion, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, restart, setExpandedInstallDir, start
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRunDir
restart, start
getLocation
public SimulatedNginxSshDriver(SimulatedNginxControllerImpl entity, SshMachineLocation machine)
public void install()
AbstractSoftwareProcessDriver
install
in class NginxSshDriver
public void customize()
AbstractSoftwareProcessDriver
customize
in class NginxSshDriver
public void launch()
AbstractSoftwareProcessDriver
launch
in class NginxSshDriver
public void stop()
SoftwareProcessDriver
stop
in interface SoftwareProcessDriver
stop
in class NginxSshDriver
Startable.stop()