README.markdown in foreman-0.5.0 vs README.markdown in foreman-0.5.1

- old
+ new

@@ -60,15 +60,43 @@ ## OPTIONS These options control all modes of foreman's operation. - * `-f`, `--procfile` + * `-f`, `--procfile`: Specify an alternate location for the application's Procfile. This file's containing directory will be assumed to be the root directory of the application. +## EXPORT FORMATS + +foreman currently supports the following output formats: + + * inittab + + * upstart + +## INITTAB EXPORT + +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 ----- + +## UPSTART EXPORT + +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` + ## PROCFILE A Procfile should contain both a name for the process and the command used to run it. @@ -97,9 +125,12 @@ [SYNOPSIS]: #SYNOPSIS "SYNOPSIS" [DESCRIPTION]: #DESCRIPTION "DESCRIPTION" [RUNNING]: #RUNNING "RUNNING" [EXPORTING]: #EXPORTING "EXPORTING" [OPTIONS]: #OPTIONS "OPTIONS" +[EXPORT FORMATS]: #EXPORT-FORMATS "EXPORT FORMATS" +[INITTAB EXPORT]: #INITTAB-EXPORT "INITTAB EXPORT" +[UPSTART EXPORT]: #UPSTART-EXPORT "UPSTART EXPORT" [PROCFILE]: #PROCFILE "PROCFILE" [EXAMPLES]: #EXAMPLES "EXAMPLES" [COPYRIGHT]: #COPYRIGHT "COPYRIGHT"