ReleaseEngineering/PuppetAgain/Modules/supervisord: Difference between revisions
< ReleaseEngineering | PuppetAgain | Modules
Jump to navigation
Jump to search
(Created page with "This module manages supervisord and its supervised processes. = supervisord::supervise = Use this define to have supervisord monitor a process. It takes the following parameter...") |
No edit summary |
||
Line 9: | Line 9: | ||
;autostart: should this process be started when supervisord starts? defaults to true | ;autostart: should this process be started when supervisord starts? defaults to true | ||
;autorestart: should the process be restarted if it exits? defaults to true | ;autorestart: should the process be restarted if it exits? defaults to true | ||
;environment: a list of 'VAR=value' strings to be put into the process's environment | |||
;extra_config: a string that is included in the supervisord [program:x] section | |||
== Example == | == Example == |
Latest revision as of 20:40, 13 November 2012
This module manages supervisord and its supervised processes.
supervisord::supervise
Use this define to have supervisord monitor a process. It takes the following parameters:
- command
- the commandline to run
- user
- User to run the process under.
- autostart
- should this process be started when supervisord starts? defaults to true
- autorestart
- should the process be restarted if it exits? defaults to true
- environment
- a list of 'VAR=value' strings to be put into the process's environment
- extra_config
- a string that is included in the supervisord [program:x] section
Example
supervisord::supervise { "Xvfb": command => "Xvfb :2", user => "cltbld"; }