Restart servers on hosts.
|$hostIDs||A sequence of host IDs, or empty sequence for the local host.|
|$reason||Prepositional phrase describing the reason to restart.|
xdmp:restartcall is not guaranteed to run after the host restarts. If you need to verify that the host was restarted, you can compare the value of
xdmp:host-statusbefore and after the restart.
xdmp.restart(null, "to reload server.xml");