Command line reference : fmsadmin commands : RESTART command
 
RESTART command
Format
fmsadmin RESTART [TYPE] [options]
Description
Restarts the process of the specified TYPE. This command stops the process TYPE and then starts it after a short delay.
This command works only if the FileMaker Server service (Windows) or the fmserver_helperd daemon (OS X) is running.
Valid Types
ADMINSERVER: Stops and then starts the Admin Server.
FMSE: Stops and then starts the FileMaker Script Engine.
FMSIB: Stops the progressive backup process.
SERVER: Stops and then starts the Database Server.
WPE: Stops and then starts the Web Publishing Engine.
XDBC: Stops and then starts the XDBC Listener that is used for communicating with ODBC and JDBC applications.
Options (applicable to SERVER only)
-f, --force
Expedites shut down of the Database Server. All clients are immediately disconnected. This option overrides the -t option.
-m message, --message message
Specifies a text message to send to the connected clients.
-t seconds, --gracetime seconds
Specifies the total number of seconds to wait before forcing disconnection of clients. The default (and minimum) value is 90 seconds.
For example, if you type
fmsadmin restart --gracetime 120
clients see a dialog box immediately and can click Close Now or Cancel. If the client does not click a button, the client is disconnected in 30 seconds. If the client clicks Cancel, the dialog box will reappear 45 seconds before the specified time limit (120 seconds). If the client clicks Close Now at this point, the client is disconnected immediately. If the client clicks Cancel again, the client is disconnected after another 45 seconds.
The gracetime option is available only if the --force option is not used.
Related topics 
AUTORESTART command
START command
STOP command
Command line reference