|
| 1 | +[program:saucelabs] |
| 2 | + |
| 3 | +;The relative priority of the program in the start and shutdown ordering. |
| 4 | +;Lower priorities indicate programs that start first and shut down last. |
| 5 | +priority=15 |
| 6 | + |
| 7 | +;User to run-as, note environment expansion outside of `command` is only |
| 8 | +;supported in supervisor >= 3.2 |
| 9 | +user=%(ENV_NORMAL_USER)s |
| 10 | + |
| 11 | +;The command that will be run when this program is started. |
| 12 | +;Controlled programs should themselves not be daemons, as supervisord |
| 13 | +;assumes it is responsible for daemonizing its subprocesses |
| 14 | +directory=%(ENV_NORMAL_USER_HOME)s |
| 15 | +command=%(ENV_BIN_UTILS)s/start-saucelabs.sh |
| 16 | + |
| 17 | +;If true, this program will start automatically when supervisord is started. |
| 18 | +;default=true |
| 19 | +autostart=%(ENV_SAUCE_TUNNEL)s |
| 20 | + |
| 21 | +;If false, the process will never be autorestarted. |
| 22 | +;If true, the process will be unconditionally restarted when it exits, |
| 23 | +;without regard to its exit code. default=unexpected |
| 24 | +;If unexpected, the process will be restart when the program exits with an |
| 25 | +;exit code that is not one of the exit codes associated with this process. |
| 26 | +autorestart=false |
| 27 | + |
| 28 | +;Set to 0 to indicate that the program needn’t stay running for any |
| 29 | +;particular amount of time. |
| 30 | +;So using custom wait-xxxx.sh scripts to perform a more efficient |
| 31 | +;active waiting until https://github.com/Supervisor/supervisor/issues/584 |
| 32 | +startsecs=0 |
| 33 | + |
| 34 | +;The number of serial failure attempts that supervisord will allow when |
| 35 | +;attempting to start the program before giving up and puting the process |
| 36 | +;into an FATAL state. |
| 37 | +startretries=0 |
| 38 | + |
| 39 | +;Logs |
| 40 | +redirect_stderr=false |
| 41 | +stdout_logfile=%(ENV_LOGS_DIR)s/saucelabs-stdout.log |
| 42 | +stderr_logfile=%(ENV_LOGS_DIR)s/saucelabs-stderr.log |
| 43 | +stdout_logfile_maxbytes=%(ENV_LOGFILE_MAXBYTES)s |
| 44 | +stderr_logfile_maxbytes=%(ENV_LOGFILE_MAXBYTES)s |
| 45 | +stdout_logfile_backups=%(ENV_LOGFILE_BACKUPS)s |
| 46 | +stderr_logfile_backups=%(ENV_LOGFILE_BACKUPS)s |
| 47 | +stdout_capture_maxbytes=%(ENV_LOGFILE_MAXBYTES)s |
| 48 | +stderr_capture_maxbytes=%(ENV_LOGFILE_MAXBYTES)s |
| 49 | + |
| 50 | +;The signal used to kill the program when a stop is requested. This can be |
| 51 | +;any of TERM, HUP, INT, QUIT, KILL, USR1, or USR2. default=TERM |
| 52 | +stopsignal=INT |
0 commit comments