Prevent your laptop from sleep/suspend while something important is running…

The problem

My laptop is configured to go to sleep after two minutes of being idle.

But it also suspends while a backup to an external disk is running :(

The solution

The solution is to tell your system that something important is running and that it should not go to sleep/suspend or to shut down.

With systemd you can use the command „systemd-inhibit“. Read the man page… (man systemd-inhibit).

Habe in den letzten Tagen einen Bot für unseren Mumble-Server aufgesetzt, der sich an einem Fundus freier Musik auf dem Server bedienen kann. Auf dem Server läuft ein Music Player Daemon, der seine Musik über Jack an ein gepatchtes Mumble ausgibt. Dieses Mumble hockt als Bot den ganzen Tag auf unserem Server und lässt sich entweder über ein Web-Interface oder direkt über einen MPD-Clienten steuern.