homebrewのapacheが分かりやすくなってた

久々にmacのhomebrewでapache起動したら、起動方法分かりやすくなってますね。apacheというかbrewのupdateですね。upgradeしたら、

The default ports have been set in /usr/local/etc/httpd/httpd.conf to 8080 and in
/usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.

To have launchd start httpd now and restart at login:
brew services start httpd
Or, if you don’t want/need a background service you can just run:
apachectl start

brew services start hoge
なんてのが出来たんですね。

$ brew services start httpd
==> Tapping homebrew/services
Cloning into ‘/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services’…
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 14 (delta 0), reused 9 (delta 0), pack-reused 0
Unpacking objects: 100% (14/14), done.
Tapped 1 command (44 files, 58.7KB).
==> Successfully started httpd (label: homebrew.mxcl.httpd)

はー楽。今まで設定ファイルをload、unloadしてたのは格好悪いなと思ってたんですよね笑

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください