Herrd

From Fernseher
Jump to navigationJump to search

This daemon is the backend controller for everything. There must be only one instance of this daemon running for the given database set.

This guy queues up jobs for the various other daemons (transcoders and rippers and recorders). He manages schedules based on the desires in the database. He also manages the total space available on the various storage spaces by compressing things and deleting things.

SIGHUP causes the backend to immediately reprocess things if it is not already doing so. It will do a reschedule, possibly put new jobs on queues, etc, etc.

SIGINT causes the backend to stop rescheduling and requeueing jobs. The next normal reschedule will occur as normal.

SIGTERM causes the backend to stop rescheduling and requeueing jobs and then quit.