Linux - Inittab (/etc/inittab)

About

System V init examines the /etc/inittab file for an :initdefault: entry, which tells init whether there is a default runlevel. If there is no default runlevel, then the user is dumped to a system console, where a runlevel must be entered manually.

The inittab file describes which processes are started at bootup.

Entry Example

es:2345:respawn:/bin/su - <endeca_user> -c "/absolute/path/to/start.sh"

where:

  • es is the inittab entry identifier.
  • 2345 lists the runlevels for which the specified action should be taken.
  • respawn is the action to be taken, which is that the process will be restarted whenever it terminates.
  • /bin/su specifies the process to be executed. In this case, a non-root user will run the start.sh command.
  • -c start.sh specifies that the start.sh command will be run, using the absolute path to the command.

Documentation / Reference





Discover More
Weblogic Endeca Server Application
Endeca - Server (MDEX engine)

Oracle Endeca Server starts up (the default port is 7770) and is completely running when you see the STARTING message displayed in the output window. You can find out in the script the following java...



Share this page:
Follow us:
Task Runner