我记得前段时间,我卸载了一个名为 starfield 的应用程序,但可能我没有进行干净的卸载。现在在控制台中,我总是看到一条烦人的消息:
com.apple.launchd[1] (com.starfield.backupservice[4441]) 退出,退出代码:1
com.apple.launchd[1] (com.starfield.backupservice) 节流重生:将在 10 秒后启动
com.apple .launchd[1] (com.starfield.backupservice[4442])
posix_spawn("/Applications/Starfield/BackupService/offSyncService", ...): 没有那个文件或目录
我知道我的安装可能有问题,我现在如何彻底卸载,或者只是解决这个问题,我不想再从我的控制台看到这条消息。谢谢。
launchd
通过在终端中运行以下命令来卸载:
sudo launchctl unload -w com.starfield.backupservice
Run Code Online (Sandbox Code Playgroud)
删除配置文件:
看在/System/Library/LaunchAgents/
,/System/Library/LaunchDemons/
,/Library/LaunchAgents/
,/Library/LaunchDemons/
和~/Library/LaunchAgents/
由名称的文件com.starfield.backupservice.plist
并将其删除。
执行其中一个或两个步骤。