Created
March 2, 2018 03:38
-
-
Save axiaoxin/55f3e48d07387662483958f614bf0a8c to your computer and use it in GitHub Desktop.
snmpsimd.supervisor.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:snmpsimd] | |
command=snmpsimd.py --process-user=root --process-group=root --agent-udpv4-endpoint=0.0.0.0:161 | |
process_name=%(program_name)s ; process_name expr (default %(program_name)s) | |
numprocs=1 ; number of processes copies to start (def 1) | |
;directory=/tmp ; directory to cwd to before exec (def no cwd) | |
;umask=022 ; umask for process (default None) | |
priority=999 ; the relative start priority (default 999) | |
autostart=true ; start at supervisord start (default: true) | |
startsecs=1 ; # of secs prog must stay up to be running (def. 1) | |
startretries=3 ; max # of serial start failures when starting (default 3) | |
autorestart=unexpected ; when to restart if exited after running (def: unexpected) | |
exitcodes=0,2 ; 'expected' exit codes used with autorestart (default 0,2) | |
;stopsignal=QUIT ; signal used to kill process (default TERM) | |
stopwaitsecs=10 ; max num secs to wait b4 SIGKILL (default 10) | |
stopasgroup=false ; send stop signal to the UNIX process group (default false) | |
killasgroup=false ; SIGKILL the UNIX process group (def false) | |
user=root ; setuid to this UNIX account to run the program | |
redirect_stderr=true ; redirect proc stderr to stdout (default false) | |
stdout_logfile=/tmp/snmpsimd.log ; stdout log path, NONE for none; default AUTO | |
stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) | |
stdout_logfile_backups=10 ; # of stdout logfile backups (0 means none, default 10) | |
stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) | |
stdout_events_enabled=false ; emit events on stdout writes (default false) | |
stderr_logfile=/tmp/snmpsimd-err.log ; stderr log path, NONE for none; default AUTO | |
stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) | |
stderr_logfile_backups=10 ; # of stderr logfile backups (0 means none, default 10) | |
stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) | |
stderr_events_enabled=false ; emit events on stderr writes (default false) | |
environment=HOME="/root" ;,B="2" ; process environment additions (def no adds) | |
serverurl=AUTO ; override serverurl computation (childutils) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment