ReleaseEngineering/PuppetAgain/Modules/supervisord

From MozillaWiki
< ReleaseEngineering‎ | PuppetAgain‎ | Modules
Revision as of 20:12, 10 July 2012 by Catlee (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Example

supervisord::supervise {
  "Xvfb":
     command => "Xvfb :2",
     user => "cltbld";
}