CLI Help

4: AutoRestart
Usage: fmsadmin AUTORESTART [TYPE] [FLAG]
Description:
Enables or disables auto-restart for the server or process TYPE if a valid
FLAG is specified. If you don't specify a FLAG, the current auto-restart
setting for that TYPE is displayed.
Valid TYPEs:
ADMINSERVER The Admin Server.
FMSE The FileMaker Script Engine process.
Valid FLAGs:
ON Turn on auto-restart.
OFF Turn off auto-restart.
The FileMaker Server service (Windows) or the fmserver_helperd
daemon (macOS) by default monitors the Admin Server and FMSE processes
for failure, and will auto-restart the process whenever it has stopped or
is not responding for more than sixty seconds.
If you stop the Admin Server or FMSE process by using the appropriate
'fmsadmin STOP ...' 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 (macOS) is running.
Options:
No command specific options.