Keep it running while your computer sleeps
Tourniquet sleeps when your computer sleeps. Use the right command for your OS to block sleep while it runs — the screen can still dim, only sleep is held off.
caffeinate -di tourniquet start
Stop with Ctrl+C or pkill caffeinate.
systemd-inhibit --what=idle:sleep tourniquet start
Stop with Ctrl+C — the inhibit lock is released automatically when the process exits.
$sig = '[DllImport("kernel32.dll")] public static extern uint SetThreadExecutionState(uint esFlags);'
$ES = Add-Type -MemberDefinition $sig -Name 'ES' -Namespace 'Win32' -PassThru
$null = $ES::SetThreadExecutionState(2147483649)
tourniquet start
Stop with Ctrl+C or close the PowerShell window — the wake-lock is bound to that session, so closing it releases the lock automatically.
Want true 24/7 without keeping a laptop awake? Run on a Raspberry Pi, Proxmox LXC, Docker, or a small cloud VM —
step-by-step guide.