Bernerd Schaefer c6e54eeee7 Use bash from current environment
Not all Unix platforms put their `bash` executable at `/bin/bash`,
for example on NixOS it may exist at `/run/current-system/sw/bin/bash`.

Instead of using `/bin/bash`, then, use `bash` alone,
and allow the [cmd package to resolve the correct path][cmd]
bashed on the user's current environment.

  [cmd]: https://golang.org/pkg/os/exec/#Command

Before:

```
$ forego start
forego  | starting web.1 on port 3000
forego  | Failed to start web.1: fork/exec /bin/bash: no such file or directory
forego  | starting worker.1 on port 3100
forego  | Failed to start worker.1: fork/exec /bin/bash: no such file or directory
```

After:

```
$ forego start
forego  | starting web.1 on port 3000
forego  | starting worker.1 on port 3100
web.1   | [26076] Started
```
2016-02-23 15:32:55 -08:00
2013-08-29 18:05:19 -04:00
2015-02-17 12:02:51 +09:00
2015-01-30 16:59:49 -05:00
2013-08-29 18:43:12 -04:00
2015-01-01 21:39:31 -05:00
2014-05-22 17:42:48 +01:00
2014-09-18 12:44:54 -04:00
2015-02-19 09:28:19 -05:00
2013-08-27 16:51:24 -04:00
2013-08-27 16:51:24 -04:00
2014-09-18 12:44:54 -04:00
2014-09-18 10:20:56 -07:00
2015-02-17 12:02:51 +09:00
2014-05-21 19:49:13 +01:00
2015-01-01 21:30:55 -05:00
2015-01-30 17:21:15 -05:00
2015-01-02 16:53:13 -05:00
2015-01-02 16:53:13 -05:00
2016-02-23 15:32:55 -08:00
2015-01-01 21:30:55 -05:00
2014-09-18 10:20:55 -07:00
2014-09-18 10:20:55 -07:00
2014-09-18 10:20:55 -07:00
2014-05-22 07:56:00 +01:00

forego

Foreman in Go.

Installation

OS X (Homebrew)
brew install forego
Precompiled Binaries
Compile from Source
$ go get -u github.com/ddollar/forego

Usage

$ cat Procfile
web: bin/web start -p $PORT
worker: bin/worker queue=FOO

$ forego start
web    | listening on port 5000
worker | listening to queue FOO

License

Apache 2.0 © 2015 David Dollar

S
Description
No description provided
Readme
270 KiB
Languages
Go 91.9%
Ruby 3.3%
Shell 3%
Makefile 1.1%
Procfile 0.7%