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 or not the forced stop was successful, even if this leaves a dangling process somewhere.
Example 8. Examples
In the case of a component, the command:
update-component --force --app myApp --name forge
would first stop the component forge, if it is running, before updating it.
In the case of a host, the command:
remove-host --force --app myApp --name dev777
would first stop 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
would first stop the script newbaseline.pl before updating it.