
me@mac /Volumes/T7Shield/test$ ls testdaemon.plist testdaemon.sh me@mac /Volumes/T7Shield/test$ launchctl load testdaemon.plist Load failed: 5: Input/output error Try running `launchctl bootstrap` as root for richer errors. me@mac /Volumes/T7Shield/test$ plutil testdaemon.plist testdaemon.plist: OK 如果把脚本移动到系统盘就能正常 load, 有人知道如何解决吗?
1 churchmice 2023 年 1 月 9 日 Try running `launchctl bootstrap` as root for richer errors. |
2 neilyoone 2023 年 1 月 9 日 Try running `launchctl bootstrap` as root for richer errors. |
3 blackcurrant OP ``` mac@mac /Volumes/T7Shield/test$ launchctl bootstrap gui/501 testdaemon.plist Bootstrap failed: 5: Input/output error Try re-running the command as root for richer errors. me@mac /Volumes/T7Shield/test$ sudo launchctl bootstrap gui/501 testdaemon.plist me@mac /Volumes/T7Shield/test$ launchctl list|grep test - 78 testdaemon me@mac /Volumes/T7Shield/test$ sudo launchctl kickstart -k gui/501/testdaemon me@mac /Volumes/T7Shield/test$ ps -ef|grep test 501 20046 7610 0 8:02PM ttys005 0:00.00 grep --color=always test ``` 用 sudo launchctl bootstrap 似乎能够载入,但是并没有运行。 |