The
--force
flag indicates whether or not the Application
Controller should attempt to force any running components, utilities, or
scripts to stop before attempting an update or a remove operation.
In the case of updates, the update persists in the application provisioning regardless of whether the forced stop is successful, even if this leaves a dangling process somewhere.
Example 12. Examples
In the case of a component, the command:
update-component --force --app myApp --name forge
stops the
forge
component (if it is running) before updating it.In the case of a host, the command:
remove-host --force --app myApp --name dev777
stops any running components or services on host
dev777
before removing that host.In the case of a script, the command:
update-script --force --app myApp --script newbaseline.pl --cmd perl
stops the script
newbaseline.pl
before updating it.