Class CreateRCScript


  • public class CreateRCScript
    extends Object
    This program provides a tool that may be used to generate an RC script that can be used to start, stop, and restart the Directory Server, as well as to display its current status. It is only intended for use on UNIX-based systems that support the use of RC scripts in a location like /etc/init.d.
    • Constructor Detail

      • CreateRCScript

        public CreateRCScript()
    • Method Detail

      • main

        public static void main​(String[] args)
        Parse the command line arguments and create an RC script that can be used to control the server.
        Parameters:
        args - The command-line arguments provided to this program.
      • main

        public static int main​(String[] args,
                               OutputStream outStream,
                               OutputStream errStream)
        Parse the command line arguments and create an RC script that can be used to control the server.
        Parameters:
        args - The command-line arguments provided to this program.
        outStream - The output stream to which standard output should be directed, or null if standard output should be suppressed.
        errStream - The output stream to which standard error should be directed, or null if standard error should be suppressed.
        Returns:
        Zero if all processing completed successfully, or nonzero if an error occurred.