Server IP : 85.214.239.14 / Your IP : 52.14.90.36 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/proc/2/root/proc/2/cwd/lib/python3/dist-packages/supervisor/tests/fixtures/ |
Upload File : |
[supervisord] loglevel=debug ; log level; default info; others: debug,warn,trace logfile=/tmp/issue-733.log ; main log file; default $CWD/supervisord.log pidfile=/tmp/issue-733.pid ; supervisord pidfile; default supervisord.pid nodaemon=true ; start in foreground if true; default false ; ;This command does not exist so the process will enter the FATAL state. ; [program:nonexistent] command=%(here)s/nonexistent startsecs=0 startretries=0 autorestart=false ; ;The one-line eventlistener below will cause supervisord to exit when any process ;enters the FATAL state. Based on: ;https://github.com/Supervisor/supervisor/issues/733#issuecomment-781254766 ; ;Differences from that example: ; 1. $PPID is used instead of a hardcoded PID 1. Child processes are always forked ; from supervisord, so their PPID is the PID of supervisord. ; 2. "printf" is used instead of "echo". The result "OK" must not have a newline ; or else the protocol will be violated and supervisord will log a warning. ; [eventlistener:fatalexit] events=PROCESS_STATE_FATAL command=sh -c 'while true; do printf "READY\n"; read line; kill -15 $PPID; printf "RESULT 2\n"; printf "OK"; done' startsecs=0 startretries=0