Restart a program (QNX)
Syntax:
restart [-t time] [-l limit] [-m limit] command_line
Options:
- -l limit
- The maximum number of restarts allowed during the time interval.
The default is 2.
- -m limit
- The maximum number of restarts allowed.
The default is 0, meaning there's no limit.
- -t time
- The time interval (in seconds) in which restart limits the number of program restarts.
The default is 60 seconds.
- command_line
- The command that you want to restart.
Description:
The restart utility runs the program specified by command_line and restarts
it if it exits for any reason other than a SIGKILL, SIGHUP, or SIGTERM.