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
Nov 28 '21
Is this a command the prevents back ground processes from being being paused? Could you share the command?
16
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
Nov 29 '21 edited Nov 29 '21
Mac is a Unix system.
It can surely do this.but it doesn't use systemd6
u/wrkzk Nov 29 '21
Mac does not use systemd.
3
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
1
4
Nov 29 '21
On a Mac you can either use
caffeinatein the terminal or the ever popular Amphetamine - the Mac app, not the drug :)3
1
7
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
1
52
u/serverhorror Nov 28 '21
Can’t be the reason. It’s still open!