
I just set up a headless Linux server on an old computer of mine. (Ubuntu 15.something I think)
Since I don't want to have it running day and night I set up wake on LAN so that a connection would trigger
The computer to turn on.
The problem is however: sending it back to hibernating. I can of course tell Linux to shut down or hibernate after a specific
Amount of time, but this will also happen if people are connected.

I'd like my system to go to sleep like 15 minutes after nobody is on the server anymore.
Is there a way to have the server send a signal if it's empty or something?
I know this is more of a Linux / programming question than a factorio question :3
Also: I don't think that this belongs in multiplayer rather than technical help, but if it does: please move it

Thank you very much
