Command line reference : fmsadmin commands : AUTORESTART command
 
AUTORESTART command
Format
fmsadmin AUTORESTART ADMINSERVER [FLAG]
Description
Enables or disables auto-restart for the Admin Server if a valid FLAG is specified. If you don’t specify a FLAG, the current auto-restart setting is displayed.
Valid Flags
ON: Turn on auto-restart.
OFF: Turn off auto-restart.
The FileMaker Server service (Windows) or the fmserver_helperd daemon (OS X) starts and monitors the Admin Server process. If you turn ON auto-restart, FileMaker Server will automatically restart the Admin Server process whenever it has stopped or is not responding for more than sixty seconds.
If you stop the Admin Server process by using the fmsadmin STOP ADMINSERVER command, FileMaker Server stops monitoring the process, but the auto-restart setting is not changed.
The default setting for auto-restart is ON. The auto-restart OFF setting is not persistent; whenever the FileMaker Server service or fmserver_helperd daemon starts, auto-restart is automatically turned ON.
This command works only if the FileMaker Server service (Windows) or fmserver_helperd daemon (OS X) is running.
Options
None.
Related topics 
RESTART command
START command
STOP command
Command line reference