.TH SMSD 8 "30 Nov 1988" "Project Athena"
\" RCSID: $Header$
.SH NAME
-smsd \- SMS query daemon
-.br
-startsms \- start the SMS daemon running, capturing log files
+smsd, startsms \- Moira query daemon
.SH SYNOPSIS
.B smsd
.br
.B startsms
.SH DESCRIPTION
-The SMS server
-must be running on the machine hosting the SMS database for any of the
-SMS clients to function. Rather than invoke
+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
directly, it is started by
.B startsms,
.B /u1/sms/journal
logging every successful change of the database in a format that can
be replayed by
-.I smstest(8).
+.I mrtest(8).
For the server to be able to function properly, if must be run as root
and root must have access to the tables through RTI Ingres.
.PP
+It is possible to shutdown the database side of the server when it is
+necessary to lock out clients. In this state the server will only
+respond to noop and motd requests. When the file
+.B /etc/smsdown
+exists, the server will close the database the next time there are no
+clients using it. To force the server to close down the database as
+soon as any active operation is finished, send it a USR1 signal. The
+first time a new client connects after the
+.B /etc/smsdown
+file is removed, the database will be re-opened. To force an
+immediate reopening, send the server a USR2 signal. The contents of
+the
+.B /etc/smsdown
+file are returned as the Moira motd.
+.PP
.B startsms
sets its working directory to the root, disconnects from the terminal
and puts itself in the background. It then starts
.br
/u1/sms/journal
.br
+/etc/smsdown
.br
-/tmp/tkt_dcm \- temporary Kerberos ticket storage.
-.br
-/etc/srvtab \- The dcm must be able to get Kerberos tickets for "sms.sms".
+/etc/srvtab \- The server must be able to get Kerberos tickets for
+"moira.[servername]".
.SH "SEE ALSO"
-The Project Athena Technical Plan section on SMS.
+The Project Athena Technical Plan section on Moira.