Mac miniをサーバ化するにあたって、railsアプリをサービスとして起動時に自動で起動するようにしたい。 railsアプリはmongrelで走らせることに決めたので、mongrelをMacで自動起動できるように設定してやる。 launchd Mac OS XはTigerになってから、サービス(デーモン)の起動にlaunchdが利用されることになった。 伝統的なUNIXシステムでは、システムの起動時にinitというプロセスが/etc/rc.dディレクトリなどにおかれたスクリプトを実行することでサービスの起動などを実現していたが、Mac OS Xの場合はこれがlaunchdに置き換わった。 launchdは自動で起動されるデーモンなどを以下の二つに用意されたディレクトリに置かれた設定ファイルを読み込んで決めるらしい。 /System/Library/LaunchDaemons/Libra
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く