Permalink
Browse files

supervisord templates

  • Loading branch information...
1 parent d874f87 commit 325f1cee1365a841b24dd0957e68f1e25a668f36 @liangzan committed May 31, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 templates/supervisord/app.conf.mustache
@@ -0,0 +1,14 @@
+{{#processes}}
+[program:{{appName}}]
+command={{processCommand}}
+autostart=true
+autorestart=true
+stopsignal=QUIT
+stdout_logfile={{logRoot}}/{{processName}}-{{num}}-out.log
+stderr_logfile={{logRoot}}/{{processName}}-{{num}}-err.log
+user={{user}}
+directory={{directory}}
+environment={{environmentVar}}
+{{/processes}}
+[group:{{app}}]
+programs={{appNames}}

0 comments on commit 325f1ce

Please sign in to comment.