]> andersk Git - moira.git/blobdiff - man/dcm.8
Command line printer manipulation client, and build goo.
[moira.git] / man / dcm.8
index 1fffe49f270235c282e866b0b46c53ef9dfa9fd2..d8526fed8dc147bb6d3bb8611eab76d481e4a919 100644 (file)
--- a/man/dcm.8
+++ b/man/dcm.8
@@ -1,23 +1,18 @@
 .TH DCM 8 "30 Nov 1988" "Project Athena"
 \" RCSID: $Header$
 .SH NAME
-dcm \- build config files from SMS database and update servers
-.br
-startdcm \- start a dcm running, capturing log files
+dcm, startdcm \- build config files from Moira database and update servers
 .SH SYNOPSIS
 .B dcm
-[-d level]
+[servicename ...]
 .br
 .B startdcm
 .SH DESCRIPTION
 The
 .B dcm
-must be run periodically on the SMS server.  It is usually run every
-15 minutes by the
-.I cron
-daemon.  Rather than invoke
+must be run periodically on the Moira server.  Rather than invoke
 .B dcm
-directly, cron runs
+directly, one generally runs
 .B startdcm,
 which starts the dcm running in the proper working directory and
 captures logging messages.
@@ -28,59 +23,53 @@ may be disabled by the presence of the file
 .I /etc/nodcm
 or by setting the value of
 .I dcm_enable
-to zero in the SMS database.  Debug mode may be enabled in the dcm by
-specifying an integer on the command line or by setting the
-environment variable
-.B DEBUG.
-The command line value will override the environment variable.  Three
-bits are currently defined in the debug value: DBG_PLAIN = 01,
-DBG_VERBOSE = 02, DBG_TRACE = 04.  Logging is done to standard output.
+to zero in the Moira database. Logging is done to standard output.
 If critical errors are detected, they are logged to
-.B /u1/sms/critical.log
+.B /moira/critical.log
 and in a zephyrgram to class
-.B SMS
+.B Moira
 instance
 .B DCM
 in addition to standard output.
+.PP
 For the actual generation of config files, the
 .B dcm
-will for off generator programs of the form
-.B /u1/sms/bin/\fIservice\fB.gen.
+will fork off generator programs of the form
+.B /moira/bin/\fIservice\fB.gen.
 Each generator takes as an argument the name of the output file to
 produce.  Many of them also require working directories in
-.B /u1/sms/dcm/\fIservice\fB.
+.B /moira/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
 .B startdcm
 sets its working directory to the root, disconnects from the terminal
 and puts itself in the background.  It then starts
-.B /u1/sms/bin/dcm,
+.B /moira/bin/dcm,
 and will capture lines the dcm writes to standard output and log them
 in
-.B /u1/sms/dcm.log
+.B /moira/dcm.log
 along with a timestamp.
 .B startdcm
 will also log the exit status of the
 .B dcm
 if it is non-zero.
 .SH FILES
-/u1/sms/dcm.log
-.br
-/u1/sms/critical.log
+/moira/dcm.log
 .br
-/u1/sms/dcm/locks/* \- empty files will be created here for advisory locks.
+/moira/critical.log
 .br
-/u1/sms/bin/*.gen \- service file generators will be searched for
+/moira/bin/*.gen \- service file generators will be searched for
 here.
 .br
 /tmp/tkt_dcm \- temporary Kerberos ticket storage.
 .br
-/etc/srvtab \- The dcm must be able to get Kerberos tickets for "sms"
+/etc/athena/srvtab \- The dcm must be able to get Kerberos tickets for "sms"
 (null instance).
 .SH "SEE ALSO"
-The Project Athena Technical Plan section on SMS.
+The Project Athena Technical Plan section on Moira.
+
This page took 0.038984 seconds and 4 git commands to generate.