This CLI command restarts the PHP and components that need to be restarted, on the server or on all the servers in the cluster - in the case of a clustered environment.
This table specifies the various arguments used in the command:
Abbreviated | Full | Description | Required/Optional |
-f |
--force |
Set to "true" to force a full restart of all server components. Default: false |
Optional |
This table lists arguments common to all zs-manage commands:
Abbreviated | Full | Description | Required/Optional |
-N |
--key-name |
WebAPI key name. |
Required |
-K |
--secret-key |
WebAPI secret key. |
Required |
-U |
--server-url |
Zend Server URL. Default: http://localhost:10081/ZendServer. |
Required - when action is performed on a remote server. |
-h |
--help |
Show usage information and exit. |
Optional |
|
|
|
To use restart:
/usr/local/zend/bin/zs-manage restart --help
/usr/local/zend/bin/zs-manage restart -N <existing key name> -K <existing key secret> Zend Server is restarted. ubuntu1204-a OK |
|
Tip: The WebAPI key details were provided after performing bootstrap-single-server. To view these details, use api-keys-get-list. |
|
|
|
Related Links: |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.