mps-restart
Stop and start server instance from command line on Windows, Linux, and macOS systems
Syntax
mps-restart [-C [path/]server_name]
[-f] 
Description
mps-restart [-C [
			stops a server instance, then restarts the same server instance. Issuing
				path/]server_name]
[-f] mps-restart is equivalent to issuing the
				mps-stop and mps-start commands in succession.
		
Input Arguments
  | Specify a path to the server instance. If this option is omitted, the current working folder and its parents are searched to find the server instance. If you are restarting a server instance in the current working folder, you do not need to specify a full path. Only specify the server name.  | 
  | Name of the server to be restarted.  | 
  | Force success even if the server instance is stopped. Restarting a stopped instance returns an error.  | 
Examples
To restart a server instance named server_1, located in folder
				tmp, and forcing successful completion of
				mps-restart, type the following at the system command
			prompt:
mps-restart -f -C /tmp/server_1Tips
After issuing
mps-restart, issue themps-statuscommand to verify the server instance has started.If you are restarting a server instance in the current working folder, you do not need to specify a full path. Only specify the server name.
Version History
Introduced in R2012b