2 Commits

Author SHA1 Message Date
Aaron Suggs
f5f5c2188b brew-services: fix by using formula.plist_name.
Fixes errors like:

```
 $ brew services restart mysql
Error: Formula `mysql` not installed, #startup_plist not implemented or
no plist file found
```

Closes Homebrew/homebrew#16378.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-12-04 11:36:12 +00:00
lukas
b6fecf5e1d Add brew services command: a wrapper for launchctl
If a formula implements startup_plist it has out-of-the-box support by
brew services. If not it's possible to specify the path to a plist file:
`brew services couchdb-lucence /usr/local/Cellar/..../couchdb-lucene.plist`.

Fixes Homebrew/homebrew#3422.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-05-01 20:32:21 +08:00