Bug#774247: sleepd: Option to prevent sleep on open TCP connections

2014-12-30 Thread Joey Hess
justus.pia...@uibk.ac.at wrote: > I'd like to see this patch (or an improved version) applied upstream > (whatever this means, as it is "dead and buried" according to > http://joeyh.name/code/). Or else, please let me know about an > alive-and-well alternative to sleepd. It seems to me that syste

Bug#774247: sleepd: Option to prevent sleep on open TCP connections

2014-12-30 Thread Justus . Piater
Package: sleepd Severity: wishlist Tags: patch I just scratched an itch: I want my home server to stay up as long as there are open ssh (or scp, sftp) connections (even if these connections are idle). I thus added a command-line option "-p " (for my use case, -p 22). It scans /proc/net/tcp for us