Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

Error start httpd #857

Closed tamacroft closed 6 years ago

tamacroft commented 6 years ago

I'm use WSL Debian. I have to install apache2, but when I'm start httpd by typing "brew services start httpd" ,then show error: sh: 1: list: not found sh: 1: list: not foundError: Failure while executing; '' load -w /home/tamacroft/Library/LaunchAgents/homebrew.mxcl.httpd.plist exited with 1

iMichka commented 6 years ago

brew services start httpd

brew services is not supported on Linux. You will have to find the right command in the httpd documentation to start the service manually.

Pull requests are of course welcome to disable the brew services command on Linux, with a better error message.

sjackman commented 6 years ago

Please surround copied-and-pasted logs with triple back ticks. See GitHub Help / Quoting Code.