startd(1M)

startd - startd daemon in foreground with timeout

As shipped in IRIX 6.5.30. Added in IRIX 6.5.19.

NAME
     startd - startd daemon in foreground with timeout

SYNOPSIS
     /usr/etc/startd [ -t timeout ] command [arg]...

DESCRIPTION
     startd is used in the system initialisation scripts to start system
     daemons which need to start in the foreground but which must not be
     allowed to block the execution of the initialisation scripts.  Daemons
     suitable for use with startd are those which background themselves but
     only after performing some initialisation work on which other programs
     depend, for example rpcbind(1m).

     startd runs the given command with the given arguments in the foreground
     and waits until the command finishes or backgrounds itself.  However, if
     the command does not finish within a fixed time, startd will background
     the command and exit immediately.  The length of the timeout defaults to
     3 seconds and is configurable with the -t option, which takes a value in
     seconds.

     Error messages are written to the system log with a log facility of
     daemon.

EXIT STATUS
     startd returns an exit code of 0 if the command backgrounded itself or
     exited successfully, 1 if an error occurred, 2 if the timeout expired,
     and values greater than 2 if the command exited with a non-zero exit
     code.

SEE ALSO
     syslogd(1M).