Configure OS X To Restart Automatically

Servers should always restart automatically in the event that they loose power or freeze up. When you’re setting up a lot of servers, it’s helpful to be able to tell the system to restart automatically if a server freezes from the command line. The command to have a system restart automatically in such a way is systemsetup. The systemsetup command has a -setrestartfreeze option. To enable the feature:

systemsetup -setrestartfreeze on

To disable:

systemsetup -setrestartfreeze off

Comments are closed.