psm accs restart

This command restarts an Oracle Application Container Cloud Service application.


This Oracle Application Container Cloud Service release only supports application-level restart, thus at this time, you cannot use it to restart an application instance.


psm accs restart 
-n|--app-name name 
[-o|--mode rolling] 
[-of|--output-format json|html|short]


All parameters are required unless otherwise noted.

Parameter Description
-n, --app-name Name of the application.
-o, ––mode (Optional) Restart mode for application instances. The only allowed value is rolling for a rolling restart. Omit this parameter for a concurrent restart.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.


$ psm accs restart -n employees-app -of json
    "currentOngoingActivity":"Restarting Application",

More Information

Stopping, Starting, and Restarting an Application in Using Oracle Application Container Cloud Service