I use my desktop as a file server for music which plays on my Sonos system. Now, after the computer hasn't been in use for time X, it will go to standby/sleep mode and thus, the music will stop. Now I was wondering if there's a way to prevent the computer from going to sleep if let's say a particular bandwith in egress direction is active on eth0?
So that I can keep my sleep settings if the computer is not being used (and no music is playing).
Asked
Active
Viewed 1,138 times
1
stdcerr
- 1,100
- 5
- 20
- 37
1 Answers
0
This has been answered here...
Is there any way to make Ubuntu not to suspend while a download in progress?
Its a program I wrote to sort out the exact same problem and more. In my case I was serving to Kodi and DLNA devices videos, pictures and music; also when doing backups to another server.
It also solves the problem of running a program unattended over a period of time.
Launchpad link here:
DanglingPointer
- 1,243