r/github • • Nov 28 '21

Why Github was down

Post image
865 Upvotes

24 comments sorted by

52

u/serverhorror Nov 28 '21

Can’t be the reason. It’s still open!

52

u/barhatsor Nov 28 '21

They reopened the lid and added the note after the crash.

23

u/serverhorror Nov 28 '21

Clearly, you’ve never run a server like that!

After such an event you find a super safe place where the device can’t possibly be found.

Like under the sink or something.

45

u/milanistadoc Nov 28 '21

Just write the command to ignore the closed lid! WTF. It's the first command that I searched and included in mine.

8

u/[deleted] Nov 28 '21

Is this a command the prevents back ground processes from being being paused? Could you share the command?

16

u/[deleted] Nov 28 '21

In /etc/systemd/logind look for something like HandleLidSwitch=..... and set it to ignore and reloaf systemd.

7

u/Successful-Emoji Nov 28 '21

But note that the laptop is a mac.

6

u/[deleted] Nov 29 '21 edited Nov 29 '21

Mac is a Unix system. It can surely do this. but it doesn't use systemd

6

u/wrkzk Nov 29 '21

Mac does not use systemd.

3

u/[deleted] Nov 29 '21

Ah! I didn't know this. Thanks

3

u/wrkzk Nov 29 '21

No problem! Systemd is the main init system for Linux these days, while Macos is more similar to the BSDs, and uses its own init system.

2

u/ChosenMate Nov 29 '21

bruh

1

u/[deleted] Nov 29 '21

my bad :( recently came to Mac and didn't realize it doesn't use systemd

1

u/new_pribor Jun 08 '25

Just because it’s a mac doesn’t mean that’s it’s running MacOS

4

u/[deleted] Nov 29 '21

On a Mac you can either use caffeinate in the terminal or the ever popular Amphetamine - the Mac app, not the drug :)

3

u/[deleted] Nov 29 '21

Very cool! Thanks for sharing

1

u/aaronfranke Dec 31 '21

Does this work on ARM-based Macs?

1

u/[deleted] Dec 31 '21

both do!

7

u/GilletteSRK Nov 28 '21

That's why the emergency door-stop needs to be put in - can't close it!

4

u/InsideBSI Dec 01 '21

I froze in place for 3 seconds seeing this. Was like: wait why is there a pic of the server at my old office on reddit. Then I saw the background wasn't the same

2

u/NOTORIOUS7302 Dec 06 '21

why not use an actual server that has the size of a shelf instead of a laptop? LOL no way this is real.

3

u/sailee94 Dec 20 '21

I have one running and its a laptop from 2010. Serves me well xd

1

u/joshcam Jan 05 '24

My cat would wreck this.