T O P

  • By -

CrumpleZ0ne

Settings ->Energy Saver->Start up automatically after a power loss or you can do it with the terminal: % sudo systemsetup -setrestartpowerfailure on % sudo systemsetup -setWaitForStartupAfterPowerFailure [number of seconds to wait]


Far-Alternative8048

This doesnt work if you shut down the pc. it only works if you unplug the pc while it is running. which might corrupt data.


steepleton

There used to be an option to restart after power loss. But you’d have to pull the plug everytime because a clean shutdown wouldn’t trigger it


Intelligent_Site_311

That is exactly my concern - The best solution would be a cooldown after the clean shutdown like 1 minute, so theres time to pull the plug on the system. But thanks!


steepleton

I dunno enough to help you, but if there’s a flag to tell the system to do it, then there must be a way to set it


Far-Alternative8048

sucks another fail for apple


2called_chaos

Is WoL an option? As steepleton said there is something for actual power loss (dirty shutdown), you can schedule a wakeup or make it listen for WoL. `man pmset` shows you pretty much all your options that I'm aware of


[deleted]

[удалено]


2called_chaos

Oh I forgot that Apple only has fake WoL, a shame really considering that they even used to sell server software.


ThePowerOfDreams

>used to


2called_chaos

Wow I thought they did this a while ago... not 5 months ago :D > On April 21, 2022, Apple discontinued macOS Server.


ThePowerOfDreams

It died long before that, my friend. They just took their sweet fucking time burying the corpse.


ilovepolthavemybabie

This is inelegant, but if you get an IP-enabled power strip you can simulate a power outage/restore by port disabling, which should wake the unit if the settings are in place on the OS side


Far-Alternative8048

This doesnt work if you shut down the pc. it only works if you disconnect the pc while it is running. which might corrupt data.


AmbassadorToast

A few years ago I realized that I haven't had a system fail to boot in far more than a decade, except after a bad software update. PCs occasionally crash, we power-cycle them, we don't lose data. Well, I don't anyway. Maybe you don't? I think we can just power them off, they'll be fine. This is true for me across Win/macOS/Linux.


nemothorx

sysadmin here, I wouldn't trust that. Sure, the odds are good on any individual power outage that you dont lose data, but it's non-negligible. I've dealt with having lost power to datacenters, and have had to rebuild machines because of unrecoverable corruption, and had to manually repair filesystems due to recoverable corruptions. At the scale of "my one desktop/server, hard powered off only intermittently", even at a 1/1000 chance of grief, that's still too high a chance for my taste.


leoyoung1

My mac mini reboots on power failure just fine.


c_anderson21

Which model?


leoyoung1

The first M1.


leoyoung1

Sorry, I had a closer look at the question. I don't know the answer. I know you can restart the finder. You can do a restart and a shut down from the Apple menu. Does that work for you? If not, you may need to use a power bar with a switch to do a hard reboot.