summaryrefslogtreecommitdiffstats
path: root/src/kadmin/server/kadmind.M
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-01-01 05:09:57 +0000
committerRuss Allbery <rra@stanford.edu>2010-01-01 05:09:57 +0000
commitb54e343cb8b672585875fa7400a08ea338b1500d (patch)
tree356cf8a95bc565e066ddd95e1a31b936d06259da /src/kadmin/server/kadmind.M
parentebfd96a98ccb8f7df042cadbeefa00ee4761b9fa (diff)
downloadkrb5-b54e343cb8b672585875fa7400a08ea338b1500d.tar.gz
krb5-b54e343cb8b672585875fa7400a08ea338b1500d.tar.xz
krb5-b54e343cb8b672585875fa7400a08ea338b1500d.zip
Add a new -P option to krb5kdc and kadmind which, if given, specifies
the path to which to write the PID file of the daemon after it finishes initializing. Ticket: 6618 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23560 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/server/kadmind.M')
-rw-r--r--src/kadmin/server/kadmind.M9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kadmin/server/kadmind.M b/src/kadmin/server/kadmind.M
index 2a227fb4e..3e9d87638 100644
--- a/src/kadmin/server/kadmind.M
+++ b/src/kadmin/server/kadmind.M
@@ -5,6 +5,7 @@ kadmind \- KADM5 administration server
.B kadmind
[\fB\-x\fP \fIdb_args\fP] [\fB-r\fP \fIrealm\fP] [\fB\-m\fP] [\fB\-nofork\fP] [\fB\-port\fP
\fIport-number\fP]
+ [\fB\-P\fP \fIpid_file\fP]
.SH DESCRIPTION
This command starts the KADM5 administration server. If the database is db2,
the administration server runs on the master Kerberos server, which stores the KDC
@@ -122,6 +123,14 @@ specifies the port on which the administration server listens for
connections. The default is is controlled by the
.I kadmind_port
configuration variable (see below).
+.TP
+\fB\-P\fP \fIpid_file\fP
+specifies the file to which the PID of
+.B kadmind
+process should be written to after it starts up. This can be used to
+identify whether
+.B kadmind
+is still running and to allow init scripts to stop the correct process.
.SH CONFIGURATION VALUES
.PP
In addition to the relations defined in kdc.conf(5), kadmind