Mac程式開機自啟動
根據apue
mac上可以通過launchctl指令控制守護程序
在man lauchctl中可以看到
/Library/LaunchAgents 内包含root權限的
$HOME/Library/LaunchAgents 内包含自己權限的
這些配置檔案是plist
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 OS X Per-user agents.
/System/Library/LaunchDaemons OS X System wide daemons.
直接把相應plist删除就可以防止其開機自啟動