Daemon Manager 1.0.0
 
Table of Contents
Start
Table of Contents
1. Conventions
2. General information about David system
3. Terminology
4. Installation
5. Daemon Manager requirements
6. Installation
7. General
8. Client of Service Manager (dsc)
9. Service Manager (dsmd)
 
 

9.5. Description

When dsmd daemon starts, it runs all daemons with state=run parameter in order of its entries in its configuration file. Next it checks all the time if all daemons, that should be run, are working. When dsmd daemon stops its work, it stops all daemons into reverse order to its entries in its configuration file.

If dsmd finds a not-working daemon which should work, it runs its again. It additionally runs a program specified as an argument of --program4fallen-daemons option. The program receives as an argument a daemon name, which doesn't work. For a given daemon the program can't be run more then a number of seconds that will be an argument of --program-running-period option.

A configuration of dsmd daemon can be changed by its client dsc. The client can ask for stopping of a working daemon or running of a not-working daemon. The other changes of the configuration are not possible during dsmd is working.