<%inherit file="base.html"/> % if controller:
${endpoint} Watcher ${name}
${controller.get_option(name, 'numprocesses', endpoint)} processes
CPU
Memory
%for pid in pids:
Process #${pid} Kill
CPU 0.0 %
Mem 0.0 %
%endfor %if not controller.get_option(name, 'singleton', endpoint):
Add process
+
%endif
Options
<% options = dict(controller.get_options(name, endpoint)) %>
Command to run. ${options['cmd']}
Arguments passed to the command. ${options['args']}
Environment passed to the command. ${options['env']}
Do we run the command in the shell ? ${options['shell']}
uid (defaults to the one used for the circusd process) ${options['uid']}
gid (defaults to the one used for the circusd process) ${options['gid']}
Working directory. ${options['working_dir']}
Number of processes + ${options['numprocesses']} -
Maximum number of attempts to start a process. ${options['max_retry']}
Warmup delay in seconds after a process is started. ${options['warmup_delay']}
% endif