NAME cssd - daemon which invokes and watches the CSs SYNOPSIS /usr/sbin/cssd [ -f filename ] AVAILABILITY SUNWjfpu DESCRIPTION cssd is the command which invokes and watches CS ( cs00(1M) ) available in MLE (Multi Language Environment). After five seconds of the ending (including abnormal termination) of a CS, cssd re-invokes the CS. CS STARTING INFORMATION FILE In a CS starting information file, /etc/css.conf by default, some CS starting information directories are described. This file can be customized. cssd reads /etc/css.conf to get CS starting information directories, and then it invokes all executable files in the directories. Usually, each CS itself is not placed in the directories and is invoked indirectly from a script in one of the directories. CS STARTING SCRIPT A CS starting script is located in a CS starting information directory. cssd reads all CS starting information direc- tories in the sequence specified in /etc/css.conf and finds to invoke all CS starting scripts. If two or more scripts which have the same filename are found, cssd invokes only the first one. UPDATING CS STARTING INFORMAION When cssd receives signal SIGHUP , it re-reads /etc/css.conf and re-finds all CS starting scripts, and then restarts, starts or terminates each script according to the following conditions. A script whose modified time is changed (is to be res- tarted) A script which is newly added (is to be started) A script which is deleted (is to be ter- minated) TO TERMINATE When cssd receives signal SIGTERM, it sends SIGTERM to each CS under the cssd's management and terminates itself (in general, each CS also terminates with the signal). ERROR INFORMATION As a facility of daemon, cssd sends error information at level `err' , and invoke/re-invoke information at level `notice' to syslogd(1M). OPTION -f filename Specify a CS starting information file. Without this option, /etc/css.conf is used. FILE /etc/css.conf file for the information of CSs by default SEE ALSO css.conf(4), cs00(1M), syslogd(1M) BUGS If a CS starting script is programmed so that itself is exec-ed by a CS, cssd understands that the process of the CS starting script is terminated in spite of the CS's termina- tion, and so puts syslog message out.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |