diff options
author | Bill Nottingham <notting@redhat.com> | 1999-02-03 17:06:47 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-02-03 17:06:47 +0000 |
commit | c3695a8497dcbc4f5dc3348f9dd0f4ffb01badee (patch) | |
tree | c5e85c9a3ac67e6eeba55138eaa9742004235844 /src/initlog.1 | |
parent | 7b45621175cebb8ad2a59901e26593811047e818 (diff) | |
download | initscripts-c3695a8497dcbc4f5dc3348f9dd0f4ffb01badee.tar initscripts-c3695a8497dcbc4f5dc3348f9dd0f4ffb01badee.tar.gz initscripts-c3695a8497dcbc4f5dc3348f9dd0f4ffb01badee.tar.bz2 initscripts-c3695a8497dcbc4f5dc3348f9dd0f4ffb01badee.tar.xz initscripts-c3695a8497dcbc4f5dc3348f9dd0f4ffb01badee.zip |
add initlog stuff. do "halt -p", "umount -f" in shutdown. use %defattr in
specfile... um, I think that's it.
Diffstat (limited to 'src/initlog.1')
-rw-r--r-- | src/initlog.1 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/initlog.1 b/src/initlog.1 new file mode 100644 index 00000000..103ef3fd --- /dev/null +++ b/src/initlog.1 @@ -0,0 +1,48 @@ +.TH initlog 8 "Sun Jan 24 1999" +.SH NAME +initlog \- log messages and events to the system logger +.SH SYNOPSIS +.B initlog +[\-cefnprs] [\-\-cmd=ARG] [\-\-event=ARG] [\-\-facility=ARG] +[\-\-name=ARG] [\-\-priority=ARG] [\-\-run=ARG] [\-\-string=ARG] +.SH DESCRIPTION +\fBinitlog\fR logs messages and events to the system logger. +It is mainly designed for use in init scripts. + +.SS OPTIONS +.TP +.I "\-c, \-\-cmd=[program]" +Execute the specified program, logging anything output to +stdout or stderr. +.TP +.I "\-e, \-\-event=[number]" +Logs that the specified event happened. Usually used in conjuction +with \fB\-\-name\fR. Currently specified events are: +.nf + \fB1\fR the action completed successfully + \fB2\fR the action failed + \fB3\fR the action was cancelled at user request + \fB4\fR the action failed due to the failure of a dependent action +.TP +.I "\-f, \-\-facility=[facility]" + +Log at the specified syslog facility. The default +is \fBdaemon\fR (see syslog(3)). +.TP +.I "\-n, \-\-name=[string]" +Log the event under the specified string, such as +"inetd". +.TP +.I "\-p, \-\-priority=[priority]" +Log at the specified syslog priority. The default +is \fBnotice\fR (see syslog(3)). +.TP +.I "\-r, \-\-run=[program]" +Execute the specified program, with an open file +descriptor so that the program can pass back +commands to initlog. +.TP +.I "\-s, \-\-string=[string] +Log the specified string to the logger. +.SH "SEE ALSO" +syslog(3), logger(1) |