.\" format with nroff|troff|groff -man .fp 5 CW .nr mH 5 .de H0 .nr mH 0 .in 5n \fB\\$1\fP .in 7n .. .de H1 .nr mH 1 .in 7n \fB\\$1\fP .in 9n .. .de H2 .nr mH 2 .in 11n \fB\\$1\fP .in 13n .. .de H3 .nr mH 3 .in 15n \fB\\$1\fP .in 17n .. .de H4 .nr mH 4 .in 19n \fB\\$1\fP .in 21n .. .de OP .nr mH 0 .ie !'\\$1'-' \{ .ds mO \\fB\\-\\$1\\fP .ds mS ,\\0 .\} .el \{ .ds mO \\& .ds mS \\& .\} .ie '\\$2'-' \{ .if !'\\$4'-' .as mO \\0\\fI\\$4\\fP .\} .el \{ .as mO \\*(mS\\fB\\-\\-\\$2\\fP .if !'\\$4'-' .as mO =\\fI\\$4\\fP .\} .in 5n \\*(mO .in 9n .. .de SP .if \\n(mH==2 .in 9n .if \\n(mH==3 .in 13n .if \\n(mH==4 .in 17n .. .de FN .nr mH 0 .in 5n \\$1 \\$2 .in 9n .. .de DS .in +3n .ft 5 .nf .. .de DE .fi .ft R .in -3n .. .TH UNCONFIGURE 1 .SH NAME unconfigure \- unconfigures an OpenDJ instance .SH SYNOPSIS \fBunconfigure\fP\ [\ \fIoptions\fP\ ] .SH DESCRIPTION A convinience script to disable the related OpenDJ service instance and remove its configuration file from the related instance data directory\&. Use option \fB\-r\fP to remove the related instance data directory completely (and thus \fBall\fP data stored in the instance!)\&. However, re\-using a data instance directory from an unconfigured instance is not supported and may result in an unexpected behavior! .SH OPTIONS .OP H help flag - Display this usage information and exit\&. .OP V version flag - Display directory server version information and exit\&. .OP r realclean flag - Forcibly remove the \fBentire\fP data directory of the related OpenDJ instance, no matter whether it is still in use\&. .SH EXAMPLES .H1 Example\ 1 The following example unconfigures the default OpenDJ instance: .SP $ SMF_FMRI=opendj25:test pfexec \&./unconfigure \-r .H1 Example\ 2 Check the service config properties: .SP $ svcprop \-p config network/ldap/opendj25:test .H1 Example\ 3 Remove the OpenDJ service instance "test" from the system: .SP # svccfg \-s network/ldap/opendj25 "delete test" .SP # svccfg \-s network/ldap/opendj25 refresh .SH ENVIRONMENTAL\ VARIABLES .H1 SMF_FMRI The service instance to use\&. If unset or empty, \fBnetwork/ldap/opendj25:default\fP will be used\&. .H1 FNTRACE A comma or whitespace separated list of script function names to trace during their execution\&. .SH SEE\ ALSO .SP \fBsvccfg\fP(1M), \fBsvcprop\fP(1), \fBsvcadm\fP(1M), \fBconfigure\fP(1), \fBsetup\fP(1), \fBopendj\fP(5) .SH IMPLEMENTATION .H0 version unconfigure 560 2013\-05\-22 07:36:34Z elkner .H0 copyright .SP Copyright 2013 Jens Elkner .H0 license CDDL 1\&.0 (see http://opensource\&.org/licenses/cddl\-1\&.0)