DESTDIR=
MAN1PAGES= blanche.1 chfn.1 chpobox.1 chsh.1 dcmmaint.1 listmaint.1 \
mailmaint.1 moira.1 mrcheck.1 usermaint.1 userreg.1
-MAN3PAGES= sms.3
-MAN8PAGES= dcm.8 mrtest.8 reg_svr.8 smsd.8 startdcm.8 startreg.8 \
- startsms.8 update_server.8
+MAN3PAGES= moira.3
+MAN8PAGES= dcm.8 mrtest.8 reg_svr.8 moirad.8 startdcm.8 startreg.8 \
+ startmoira.8 update_server.8
all:
produce. Many of them also require working directories in
.B /u1/sms/dcm/\fIservice\fB.
A generator exits with a status code defined in
-.I <sms_et.h>.
+.I <mr_et.h>.
In particular,
-.B SMS_NO_CHANGE
+.B MR_NO_CHANGE
is a common exit status if the database hasn't changed since the last
time this generator was run.
.PP
-.TH SMSD 8 "30 Nov 1988" "Project Athena"
+.TH MOIRAD 8 "30 Nov 1988" "Project Athena"
\" RCSID: $Header$
.SH NAME
-smsd, startsms \- Moira query daemon
+moirad, startmoira \- Moira query daemon
.SH SYNOPSIS
-.B smsd
+.B moirad
.br
-.B startsms
+.B startmoira
.SH DESCRIPTION
The Moira server
must be running on the machine hosting the Moira database for any of the
Moira clients to function. Rather than invoke
-.B smsd
+.B moirad
directly, it is started by
-.B startsms,
+.B startmoira,
which starts the daemon running in the proper working directory and
captures logging messages.
.PP
Logging is done to standard output.
How much gets logged by
-.B smsd
+.B moirad
is controlled by the variable
.I log_flags
which is compiled into the file
-.I sms_srvdata.c.
+.I mr_srvdata.c.
If critical errors are detected, they are logged to
.B /u1/sms/critical.log
and in a zephyrgram to class
-.B SMS
+.B MOIRA
instance
-.B SMS
+.B MOIRA
in addition to standard output.
Also, a journal file is kept in
.B /u1/sms/journal
.B /etc/smsdown
file are returned as the Moira motd.
.PP
-.B startsms
+.B startmoira
sets its working directory to the root, disconnects from the terminal
and puts itself in the background. It then starts
-.B /u1/sms/bin/smsd,
+.B /u1/sms/bin/moirad,
and will capture lines the server writes to standard output and log them
in
-.B /u1/sms/sms.log
+.B /u1/sms/moira.log
along with a timestamp.
-.B startsms
+.B startmoira
will also log the exit status of the
-.B smsd
+.B moirad
if it is non-zero.
.SH FILES
-/u1/sms/sms.log
+/u1/sms/moira.log
.br
/u1/sms/critical.log
.br