On 01/11/05 22:30:51, Roger the Shrubber wrote:

The server will shutdown if:
- none of the players have been playing for a certain time
- the server is not scanning the music library
- a specified process is not running (works with ssh, should work
for telnet or ftp too, I reckon)

I'm not sure how to store stuff in environment variables if that's at
all possible and good form.


Maybe you want to run it as a daemon and not from cron, startit at boot time that way you don't need to bother with status files, env vars won't work.

Seems to me that most of this code already exists in slimserver, in the screen saver area.
Just need to add a shutdown option there.

--
'ooroo

stinga...(:)-)
---------------------------------------------------
Email: [EMAIL PROTECTED]      o
You need only two tools.        o /////
A hammer and duct tape. If it    /@   `\  /) ~
doesn't move and it should,     >  (O)  X<  ~  Fish!!
use the hammer. If it moves and  `\___/'  \) ~
shouldn't, use the tape.           \\\
---------------------------------------------------
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to