Files
System/MacBook/Mac命令launchctl的使用.md
offends d12a206210
Some checks failed
continuous-integration/drone Build is failing
synchronization
2025-08-25 16:02:49 +08:00

23 lines
311 B
Markdown

> 本文作者:丁辉
# Mac命令launchctl的使用
- 查找现有的服务
```bash
launchctl list
```
- 停止服务
```bash
launchctl stop [service-name]
```
- 载服务配置,防止其在未来自动启动
```
launchctl unload -w ~/Library/LaunchAgents/[service-name].plist
```