
GitHub Conduitと呼ばれるプログラム(Mac 用 GitHub) はコンピュータのバックグラウンドで実行されます。終了すると、launchd
再起動します。
マニュアルlaunchd
ページには、起動時にジョブを検索するすべての場所がリストされています。
$ man launchd
[snip]
FILES
~/Library/LaunchAgents Per-user agents provided by the user.
/Library/LaunchAgents Per-user agents provided by the adminis-
trator.
/Library/LaunchDaemons System-wide daemons provided by the admin-
istrator.
/System/Library/LaunchAgents Per-user agents provided by Mac OS X.
/System/Library/LaunchDaemons System-wide daemons provided by Mac OS X.
私はこれらのフォルダをそれぞれ確認し、GitHubコンジットにはいずれにもファイルがありません。また、ユーザーとグループの設定も確認しましたが、ログイン項目には表示されていません。
ちなみに、launchctl list com.github.GitHub.Conduit
出力は次のようになります:
{
"Label" = "com.github.GitHub.Conduit";
"LimitLoadToSessionType" = "Aqua";
"OnDemand" = true;
"LastExitStatus" = 15;
"PID" = 596;
"TimeOut" = 30;
"ProgramArguments" = (
"/usr/libexec/launchproxyls";
"com.github.GitHub.Conduit";
);
"EnableTransactions" = true;
"MachServices" = {
"com.github.GitHub.Conduit" = mach-port-object;
};
"PerJobMachServices" = {
"com.apple.CFPasteboardClient" = mach-port-object;
"com.apple.tsm.portname" = mach-port-object;
"com.apple.axserver" = mach-port-object;
};
};
質問
起動時に GitHub Conduit が起動するのはなぜですかlaunchd
? また、必要に応じてこれを停止するにはどうすればよいですか?
答え1
答え2
解決しました! OS X 10.11 では、設定は次の場所に保存されます:
/var/db/com.apple.xpc.launchd/loginitems.{uid}.plist
私の場合、そのファイルは次のようになります。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.github.GitHub.Conduit</key>
<string>com.github.GitHub</string>
<key>version.com.github.GitHub.Conduit</key>
<string>161</string>
</dict>
</plist>