From d943912f82c39b37e7f1d80fef8fd4fafa0ce328 Mon Sep 17 00:00:00 2001
From: David Dollar
These options control all modes of foreman's operation.
--f, --procfile
-Specify an alternate location for the application's Procfile. This file's
+-f, --procfileforeman currently supports the following output formats:
+ +inittab
upstart
Will export a chunk of inittab-compatible configuration:
+ +# ----- foreman example processes -----
+EX01:4:respawn:/bin/su - example -c 'PORT=5000 bundle exec thin start >> /var/log/web-1.log 2>&1'
+EX02:4:respawn:/bin/su - example -c 'PORT=5100 bundle exec rake jobs:work >> /var/log/job-1.log 2>&1'
+# ----- end foreman example processes -----
+
+
+Will create a series of upstart scripts in the location you specify. Scripts +will be structured to make the following commands valid:
+ + start appname
stop appname-processname
restart appname-processname-3
A Procfile should contain both a name for the process and the command used