Parent directory

_supervisord

1879 bytes
 1#compdef supervisord
 2
 3typeset -A opt_args
 4local context state line
 5
 6_arguments \
 7    {--configuration,-c}"[configuration file]:FILENAME:_files" \
 8    {--nodaemon,-n}"[run in the foreground (same as 'nodaemon true' in config file)]" \
 9    {--help,-h}"[print this usage message and exit]:" \
10    {--version,-v}"[print supervisord version number and exit]:" \
11    {--user,-u}"[run supervisord as this user]:USER:_users" \
12    {--umask,-m}"[use this umask for daemon subprocess (default is 022)]" \
13    {--directory,-d}"[directory to chdir to when daemonized]" \
14    {--logfile,-l}"[use FILENAME as logfile path]:FILENAME:_files" \
15    {--logfile_maxbytes,-y}"[use BYTES to limit the max size of logfile]" \
16    {--logfile_backups,-z}"[number of backups to keep when max bytes reached]" \
17    {--loglevel,-e}"[use LEVEL as log level (debug,info,warn,error,critical)]:level:->levels" \
18    {--pidfile,-j}"[write a pid file for the daemon process to FILENAME]:FILENAME:_files" \
19    {--identifier,-i}"[identifier used for this instance of supervisord]" \
20    {--childlogdir,-q}"[the log directory for child process logs]:child log directory:_files -/" \
21    {--nocleanup,-k}"[prevent the process from performing cleanup (removal of old automatic child log files) at startup.]" \
22    {--minfds,-a}"[the minimum number of file descriptors for start success]" \
23    {--strip_ansi,-t}"[strip ansi escape codes from process output]" \
24    "--minprocs[the minimum number of processes available for start success]" \
25    "--profile_options[run supervisord under profiler and output results based on OPTIONS, which is a comma-sep'd list of 'cumulative', 'calls', and/or 'callers', e.g. 'cumulative,callers')]" \
26    "*::args:_gnu_generic"
27
28case $state in
29levels)
30    levels=("debug" "info" "warn" "error" "critical")
31    _describe -t levels 'supervisord levels' levels && return 0
32    ;;
33esac